出现上述情况是因为serviceImpl中在mapper上用了 @Resource注解,该注解默认按名称进行注入,自己起的mapper名和现有的类名字冲突了。
The bean ‘XXXX‘ could not be injected as a ‘XXXXXX because it is a JDK dynamic proxy that implements
最新推荐文章于 2024-03-20 21:47:49 发布
出现上述情况是因为serviceImpl中在mapper上用了 @Resource注解,该注解默认按名称进行注入,自己起的mapper名和现有的类名字冲突了。