jar包找不到主清单文件

pom.xml中

<plugin>
                <groupId>org.springframework.boot</groupId>
                <artifactId>spring-boot-maven-plugin</artifactId>
                <version>${spring-boot.version}</version>
                <configuration>
                    <fork>true</fork>
                    <includeSystemScope>true</includeSystemScope>
                    <mainClass>com.example.demo3.Demo3Application</mainClass>
					<skip>true</skip>
                </configuration>
                <executions>
                    <execution>
                        <id>repackage</id>
                        <goals>
                            <goal>repackage</goal>
                        </goals>
                    </execution>
                </executions>
            </plugin>

删除<skip>true</skip>.

posted @ 2023-09-05 12:08  jijfurhg  阅读(12)  评论(0)    收藏  举报