1、警告解读:
** WARNING ** : Your ApplicationContext is unlikely to start due to a @ComponentScan of the default package.
出现这个警告是因为你将启动类直接放在了工程的src根目录下。
2、解决方法:
在src目下新建一个文件,再将启动类放进去重新run就可以了。
1、警告解读:
** WARNING ** : Your ApplicationContext is unlikely to start due to a @ComponentScan of the default package.
出现这个警告是因为你将启动类直接放在了工程的src根目录下。
2、解决方法:
在src目下新建一个文件,再将启动类放进去重新run就可以了。