** WARNING ** : Your ApplicationContext is unlikely to start due to a @ComponentScan of the default
现象:
** WARNING ** : Your ApplicationContext is unlikely to start due to a @ComponentScan of the default package.
原因:
直接在src下运行springboot主函数
解决办法:
在src下新建一个package,在package下运行springboot主函数
...
原创
2018-12-05 10:56:29 ·
213 阅读 ·
0 评论