原文: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