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

Posted xiaoliu66007

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了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),报错解决的主要内容,如果未能解决你的问题,请参考以下文章