Caused by: java.lang.IllegalArgumentException: No auto configuration classes found in META-INF/spring.factories. If you are using a custom packaging, make sure
that file is correct.
正确的,到达springboot这个层次,不在需要那个
maven-assembly-plugin 的配置了,直接这样就一切OK
<build>
<plugins>
<plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
<configuration>
<mainClass>com.App</mainClass>
</configuration>
</plugin>
</plugins>
</build>