原文:解決is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)

自定義了一個線程池TtlAsyncAutoConfiguration,並且加上 EnableAsync,希望在Application這個應用啟動類頭頂就不用加這個注解也能使異步調用生效,然而卻出現了 個info信息: 雖然是個info信息,但是由於里面提到了無法被代理,而我們知道Spring就是一個動態代理的世界,所以擔心出現其他問題,於是決定解決一下這個問題。 警告里面有 處,挑最后一處來解決 ...

2022-02-28 09:29 0 2405 推薦指數:

查看詳情

BeanPostProcessors (for example: not eligible for auto-proxying),報錯解決

最近遇到個問題,springmvc項目debug啟動失敗 debug啟動會卡住不動,run模式啟動正常 debug啟動輸出到下面這行之后,就不會繼續輸出了 解決辦法: debug模式運行項目,找到斷點,全部刪除 然后就能啟動了 問題出現的原因如下: ...

Mon Jan 14 18:46:00 CST 2019 0 14089
開發中遇到的問題---【 is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-pr oxying】

場景再現:開發環境沒問題,測試環境也沒問題,但是到了生產環境就不行了,報下面的錯誤 解決方案:這種情況是加載配置文件時就出問題了,我花費了幾個小時,最后發現yml文件中的key的值不能是*開頭的,前面自己加一個字母或數字就行了一下就好了。 ...

Tue Mar 10 06:39:00 CST 2020 0 4949
 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM