在spring boot demo中启动报错
** WARNING ** : Your ApplicationContext is unlikely to start due to a @ComponentScan of the default package.
经过查询得知,启动的类不能放在默认的java! 要建一个包,把application移到此包中
然后新建一个文件夹,然后启动成功
在spring boot demo中启动报错
** WARNING ** : Your ApplicationContext is unlikely to start due to a @ComponentScan of the default package.
经过查询得知,启动的类不能放在默认的java! 要建一个包,把application移到此包中
然后新建一个文件夹,然后启动成功