SprintBoot 启动报错:Your ApplicationContext is unlikely to start due to a @ComponentScan of the default package.
🏷️ Spring Boot Maven
Application
启动报错:
Your ApplicationContext is unlikely to start due to a @ComponentScan of the default package.
对策:
因为 application.Java
文件不能直接放在 main/java
文件夹下,必须要建一个包把他放进去。