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

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

debug启动会卡住不动,run模式启动正常(绝对不是数据库配置不对的原因)

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

...
...
2019
-01-14 09:43:55 [INFO]- [class DefaultBeanFactoryPointcutAdvisor] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) 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)

问题具体和这个blog一样:https://www.oschina.net/question/2456007_2154001

解决办法

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

然后就能启动了

问题出现的原因如下

猜你喜欢

转载自www.cnblogs.com/xiaoliu66007/p/10265644.html