idea springboot打jar包命令行运行时(没有主清单属性)

 

maven项目,添加或者修改依赖

<plugin>
    <groupId>org.springframework.boot</groupId>
    <artifactId>spring-boot-maven-plugin</artifactId>
    <executions>
        <execution>
            <goals>
                <goal>repackage</goal>
            </goals>
        </execution>
    </executions>
</plugin>
posted @ 2019-12-26 09:46  江云风  阅读(698)  评论(0编辑  收藏  举报
// 点击-心形效果