美文网首页
解决部署报错No main manifest attribute

解决部署报错No main manifest attribute

作者: 抄无止境 | 来源:发表于2020-06-28 15:55 被阅读0次

参考
解决部署报错No main manifest attribute, in XXX.jar

<plugin>
    <groupId>org.springframework.boot</groupId>
    <artifactId>spring-boot-maven-plugin</artifactId>
    <executions>
        <execution>
            <goals>
                <goal>repackage</goal>
            </goals>
        </execution>
    </executions>
  
    <configuration>
         <includeSystemScope>true</includeSystemScope>
         <mainClass>xxx.xxx.xxx.xxx</mainClass>
    </configuration>
</plugin>

相关文章

网友评论

      本文标题:解决部署报错No main manifest attribute

      本文链接:https://www.haomeiwen.com/subject/bvdwfktx.html