报错提示内容:
解决:将启动类文件移动到com.atguigu.eduservice包。应该是EduApplication.java文件自带的@SpringBootApplication中包含@ComponentScan,默认是扫描该类所在的包和子包的,即 @ComponentScan(basePackages = {"com.atguigu"}),所以再写一遍就提示多余的。
标签:given,already,SpringBootApplication,Redundant,ComponentScan,applies From: https://www.cnblogs.com/javaxubo/p/17626635.html