spring boot找不到service類,項目無法啟動


Spring boot項目報錯Field sysChannelService in org.jeecg.modules.bazsystem.controller.SysChannelController required a bean of type 'org.jeecg.modules.bazsystem.service.ISysChannelService' that could not be found.

找不到service對象,導致項目無法啟動

 

 解決方案:

在Service的實現層,添加@Service注解


免責聲明!

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



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