网上及github检索的集成mongdb的例子,启动报错,后来发现在新版本的spring-data-mongodb-3.0.2 中已经不再支持网络上的大部分的示例了,如:基于 SimpleMongoDbFactory 的这种方已经被废弃删除了,应改用SimpleMongoClientDatabaseFactory 方式,经过一天的研究检索终于找到了一篇解决办法,转载其他人,参考
https://blog.csdn.net/Coco_chun/article/details/124635485
https://www.jianshu.com/p/fe8860b89b83
- 数据源 MongoCustomConversions NoClassDefFoundError springframework springboot数据源mongocustomconversions noclassdeffounderror noclassdeffounderror throwableproxy springboot noclassdeffounderror springboot jar springapplication springframework springboot origintrackedyamlloader springframework springboot beancreationexception springframework springboot springframework springboot annotation autowired 时长springframework springboot代码 mongocustomconversions noclassdeffounderror