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模式運行項目,找到斷點,全部刪除

 

然后就能啟動了

問題出現的原因如下

 


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM