Spring-boot 启动时发生警告
下面为翻译
Your ApplicationContext is unlikely to start due to a @ComponentScan of the default package. 如下图所示。
解决:把注解@SpringBootApplication的类 放到包里面就可以了,不能裸建个类。