![](https://img-blog.csdnimg.cn/20201014180756780.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
springboot
卿国
这个作者很懒,什么都没留下…
展开
-
compatible version of com.google.gson.GsonBuilder
Action:Correct the classpath of your application so that it contains a single, compatible version of com.google.gson.GsonBuilder如果你的springboot项目启动时报了以下错误,说明gson的版本问题,在启动项上加上@SpringBootApplication(exclude = {GsonAutoConfiguration.class}) 注解即可解决...原创 2020-08-12 13:14:46 · 851 阅读 · 0 评论 -
The bean ‘XXXX‘ could not be injected as a ‘XXXXXX because it is a JDK dynamic proxy that implements
出现上述情况是因为serviceImpl中在mapper上用了 @Resource注解,该注解默认按名称进行注入,自己起的mapper名和现有的类名字冲突了。原创 2020-08-11 11:44:53 · 1343 阅读 · 0 评论