spring整合mongoDB-2 我们工程的核心配置还是使用xml,跟mongoDB相关的部分如下:
当看到这样的异常时,说明需要配置Converter了:org.springframework.data.mapping.model.MappingException