Spring Boot项目Maven打包报错(repackage failed: Unable to find main class)
解决方案:
setting.xml文件添加如下配置:
<plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
<version>1.5.3.RELEASE</version>
<configuration>
<mainClass>com.xx.webapps.api.main.WebappsApiBidMain</mainClass>
</configuration>
<executions>
<execution>
<goals>
<goal>repackage</goal>
</goals>
</execution>
</executions>
</plugin>
参考链接:https://www.cnblogs.com/thinking-better/p/7827368.html
文章来自:https://www.cnblogs.com/bettyling/p/10493350.html