首页
技术日记
编程
旅游
登录
标签
configuratio
Consider defining a bean of type ‘xx.xx.xx.xxService‘ in your configuratio
我这边是多模块项目,出现这种情况的原因是没有加载到service层 解决办法 在xxApplication加上ComponentScan(“com.tju.backend”)ComponentScan("
Type
Bean
defining
configuratio
xxService
admin
2月前
5
0
Consider defining a bean of type ‘com.aynu.dao.UserDao‘ in your configuratio
Consider defining a bean of type ‘com.aynu.dao.UserDao’ in your configuratio 在Dao层的接口当中记得加Mapper注解,否则将会报上面的错
Type
Bean
defining
aynu
configuratio
admin
2月前
6
0
Consider defining a bean of type ’xxx‘ in your configuratio
xxxserviceImpl忘打Service注解了
Bean
defining
Type
configuratio
xxx
admin
2月前
6
0