Spring MVC
petrel2015
这个作者很懒,什么都没留下…
展开
-
[MongoDB] java.lang.NoSuchMethodError: com.mongodb.MongoClient
项目场景:SpringBoot 项目启动时报错java.lang.NoSuchMethodError: com.mongodb.MongoClient问题描述:按我之前的经验来说NoSuchMethodError一般代表着没有对应jar包,只需要导入即可。但是这回不是,lib里有jar了,因为至少在idea里代码提试时能看到,说明导入成功了。原因分析:网上查阅后发现有可能是pom文件加了两个同样的但是版本不同的jar包,看了看没有。Probably you have two differ原创 2020-11-13 11:46:24 · 2215 阅读 · 0 评论 -
[Java] Spring MVC 阿里 ali druid 连接池 Communications link failure 解决方案
关键字:SpringMVC spring dao 配置 阿里 druid 连接池 出现Communications link failure The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server症状原创 2017-12-16 21:48:01 · 7088 阅读 · 4 评论