A component required a bean of type ‘com.inlove.user.dao.PreUserDao‘ that could not be found.

直接在启动类上添加:

@ComponentScan(basePackages = {"xxxxxx"})


版权声明:本文为V_1920原创文章,遵循CC 4.0 BY-SA版权协议,转载请附上原文出处链接和本声明。