A component required a bean of type 'com.xxx.xxx.entity.User' that could not be found.

在启动类添加

@ComponentScan(basePackages = {"com.xxx.xxx.service"})

具体的是为什么,有人可以解释一下吗,我也不懂原因,欢迎大家留言

全部评论

相关推荐

评论
点赞
收藏
分享

创作者周榜

更多
牛客网
牛客网在线编程
牛客网题解
牛客企业服务