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模式运行项目,找到断点,全部删除

 

技术分享图片

技术分享图片

然后就能启动了

问题出现的原因如下

技术分享图片

 

文章来自:https://www.cnblogs.com/xiaoliu66007/p/10265644.html
© 2021 jiaocheng.bubufx.com  联系我们
ICP备案:鲁ICP备09046678号-3