jar中没有主清单属性

引入SpirngBoot的构建插件

 <!--  引入SpirngBoot的构建插件  -->
    <build>
        <plugins>
            <plugin>
                <groupId>org.springframework.boot</groupId>
                <artifactId>spring-boot-maven-plugin</artifactId>
                <version>2.3.6.RELEASE</version>
                <executions>
                    <execution>
                        <goals>
                            <goal>repackage</goal>
                        </goals>
                    </execution>
                </executions>
            </plugin>
        </plugins>
    </build>

  

posted @ 2022-05-02 19:08  茁峪  阅读(16)  评论(0编辑  收藏  举报