boot-package no main manifest attribute, in /app.jar
程序员文章站
2022-03-02 16:49:37
...
boot打包:no main manifest attribute, in /app.jar
解决方案
<plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
// 指定版本和goals
<version>${boot.version}</version>
<executions>
<execution>
<goals>
<goal>repackage</goal>
</goals>
</execution>
</executions>
</plugin>
推荐阅读
-
no main manifest attribute, in /app.jar (jar中没有主清单属性 )
-
no main manifest attribute, in xxx.jar
-
no main manifest attribute, in testProject-1.0-SNAPSHOT.jar
-
no main manifest attribute, in testProject-1.0-SNAPSHOT.jar
-
jar启动no main manifest attribute, in .jar
-
no main manifest attribute, in /app.jar 没有主清单属性
-
no main manifest attribute, in xxx.jar
-
no main manifest attribute, in xxx.jar
-
docker run springboot jar images error no main manifest attribute, in app.jar
-
boot-package no main manifest attribute, in /app.jar