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

时间:2023-03-10 00:26:26
BeanPostProcessors (for example: not eligible for auto-proxying),报错解决

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

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

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

...
...
-- ::
[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),报错解决

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

然后就能启动了

问题出现的原因如下:

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