** WARNING ** : Your ApplicationContext is unlikely to start due to a @ComponentScan of the default package.
Your ApplicationContext is unlikely to start due to a @ComponentScan of the default package.
因为application.java 文件不能直接放在main/java文件夹下,必须要建一个包把他放进去
可以参考:这里