A component required a bean of type 'com.xxx.xxx.entity.User' that could not be found.
在启动类添加
@ComponentScan(basePackages = {"com.xxx.xxx.service"})
具体的是为什么,有人可以解释一下吗,我也不懂原因,欢迎大家留言
在启动类添加
@ComponentScan(basePackages = {"com.xxx.xxx.service"})
具体的是为什么,有人可以解释一下吗,我也不懂原因,欢迎大家留言
相关推荐
查看23道真题和解析