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

 

BeanPostProcessors (for example: not eligible for auto-proxying),报错解决_第1张图片

BeanPostProcessors (for example: not eligible for auto-proxying),报错解决_第2张图片

然后就能启动了

问题出现的原因如下

BeanPostProcessors (for example: not eligible for auto-proxying),报错解决_第3张图片

 

转载于:https://www.cnblogs.com/xiaoliu66007/p/10265644.html

你可能感兴趣的:(BeanPostProcessors (for example: not eligible for auto-proxying),报错解决)