** WARNING ** : Your ApplicationContext is unlikely to start due to a @ComponentScan of the default
现象:**WARNING**:YourApplicationContextisunlikelytostartduetoa@ComponentScanofthedefaultpackage.原因:直接在src下运行springboot主函数解决办法:在src下新建一个package,在package下运行springboot主函数