1.看了网上的方法说先把mybatis-plus依赖注释掉,没有反应。

2.通过将Controller文件都注释掉,发现@Resource出问题了,有两个对象名相同

3.修改了其中一个名,果然解决

The bean ‘XXX‘ could not be injected because it is a JDK dynamic proxy相关推荐

  1. The bean 'llWebSocketHandler' could not be injected because it is a JDK dynamic proxy that implemen

    摘要:在做Spring Boot.WebSockets整合的时候,出现了bean注入失败的问题,错误异常如下: 一:异常信息: 2018-08-10 11:44:50.072 WARN 20296 - ...

  2. The bean ‘dataTokenMapper‘ could not be injected because it is a JDK dynamic

    文章目录 报错 翻译图片中的意思: 寻找目标: 分析原因: 解决方案 报错 运行项目的时候报错: The bean 'dataTokenMapper' could not be injected be ...

  3. The bean ‘xxx‘ could not be injected as a ‘xxx‘ because it is a JDK dynamic proxy that implements:

    The bean 'xxx' could not be injected as a 'xxx' because it is a JDK dynamic proxy that implements: 问 ...

  4. The bean ‘xxImpl‘ could not be injected as a ‘xxx‘ because it is a JDK dynamic proxy that implements

    项目启动报错:The bean 'xxxServiceImpl' could not be injected as a 'com.xxx.service.impl.xxxServiceImpl' be ...

  5. The bean ‘Xxx‘ could not be injected as a ‘Xxx‘ because it is a JDK dynamic proxy that implements:x

    完成错误信息如下: *************************** APPLICATION FAILED TO START ***************************Descrip ...

  6. The bean 'xxx' could not be injected as a 'xxx'because it is a JDK dynamic proxy that implements

    启动springboot项目的时候示以下错误 1 Error starting ApplicationContext. To display the conditions report re-run ...

  7. The bean ‘xxx‘ could not be injected as a ‘xxx‘because it is a JDK dynamic proxy that implements错误解决

    1.解决方法:使用@Autowired 2.@autowired和@resource注解的区别 区别: 1.@Autowired注解由Spring提供,只按照byType注入:@resource注解由 ...

  8. Spring Boot 启动 出现异常The bean xxx could not be injected as a xx.xxxx because it is a JDK dynami

    @Resource private IUserMapper userMapper; 分析:  如上代码会报错,这是因为程序中有一个UserMapper,所以当命名为userMapper会首先查找Use ...

  9. 事务开启SpringBoot报错 The bean ‘xxxImpl’ could not be injected as a ‘com.xxx.service.impl.xxxServiceImpl

    问题描述 项目在注入Service时报出动态代理错误问题,如果在自动装配的时候直接以实现类来声明变量,会出现CGLib错误. 例如,在UserController类里自动装配了UserServiceI ...

最新文章

  1. S/4HANA CLOUD 年度九大新功能(2020)
  2. pyqt5讲解8:容器QTabWidget,QStackedWidget,QDockWidget
  3. css—盒子模型理解
  4. ICH10R服务器主板是什么芯片,Intel ICH10R 芯片组 RAID配置
  5. SQL入门经典(第5版)pdf
  6. hdu 1874 畅通工程续(模板题 spfa floyd)
  7. 掩码图制作photoshop__新手用
  8. 河内之塔算法_如何解决河内问题之塔-图解算法指南
  9. python电脑下载-python
  10. 【Linux】五分钟搞定 Linux 文档全部知识,就看这篇文章
  11. php探针作用,X 探针(刘海探针)一款开源又好用的PHP探针
  12. ROS机器人系列竞赛之地下挑战赛 The DARPA Subterranean (SubT) Challenge Competition
  13. Java数字转化为阿拉伯数字_Java实现中文数字转换为阿拉伯数字
  14. 什么是HTTP代理?
  15. c语言三角函数乘法怎么表示,C语言实现三角函数表
  16. Mockplus Cloud Crack,项目管理顺畅
  17. ubuntu18.04 使用systemd方式添加开机运行sh脚本
  18. Autocad2015点开闪退问题,线段等分
  19. Python _多文件入表中的记录
  20. android 手柄摇杆代码,android虚拟手柄摇杆的实现

热门文章

  1. java 小球抛物线_小球抛物线运动
  2. docker-compose Seata+Nacos部署
  3. 服务器安卓系统安装教程,云服务器安装安卓系统
  4. 安卓搭建http文件服务器,如何在安卓上搭建http服务器
  5. Android 热修复原理解析
  6. 【Cheatsheet】详解git的各种操作
  7. 南浔区跨境电子商务公共服务中心今日揭牌!
  8. vscode CommandNotFoundError: Your shell has not been properly configured to use ‘conda activate‘.解决
  9. 谷歌浏览器——新建下载任务
  10. python计算十年平均录取率_如何在Python中使用Pandas计算多年平均值