BeanPostProcessors (for example: not eligible for auto-proxying),报错解决

最近遇到个问题,springmvc项目debug启动失败

debug启动会卡住不动,run模式启动正常

debug启动输出到下面这行之后,就不会继续输出了

...
...
2019-01-14 09:43:57 [INFO]- Bean 'dataSource' of type [class DruidDataSource] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)

 

解决办法

debug模式运行项目,找到断点,全部删除

 

然后就能启动了

问题出现的原因如下

 

posted @ 2019-01-14 10:46  君子笑而不语  阅读(26458)  评论(2编辑  收藏  举报