原文:springboot啟動報錯:Consider defining a bean of type 'com.xx.xx.TokenService' in your configuration.

原因:找不到請求的bean類型 . 方法一:添加config注入bean . 方法二:在啟動類DemoApplication上添加包所在位置注解 ...

2021-11-08 15:29 0 784 推薦指數:

查看詳情

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