![](https://img-blog.csdnimg.cn/7a3d4e428c8543f8a883030eec0b753c.png?x-oss-process=image/resize,m_fixed,h_224,w_224)
mongo
文章平均质量分 50
Mongo相关内容
Hi,all
持续学习中...
展开
-
解决:com.mongodb.MongoSocketOpenException: Exception opening socket~[mongodb-driver-core-3.11.2.jar:na
通过翻看,spring-boot-autoconfigure-2.2.5.RELEASE.jar源码,发现SpringBoot自动配置支持mongodb。启动SpringBoot时会自动实例化一个MongoClient实例。改造springboot集成Mongodb,根据自定义配置进行加载配置MongoClient。禁用SpringBoot对Mongo的自动配置,在SpringBoot启动类上加上。原创 2023-08-13 00:00:00 · 1892 阅读 · 0 评论 -
使用MongoTemplate保存数据时,抛出异常,Unsupported OP_QUERY command: update
使用MongoTemplate保存数据时,抛出异常,Unsupported OP_QUERY command: update原创 2023-01-14 16:00:00 · 3267 阅读 · 0 评论