zl程序教程

您现在的位置是:首页 >  后端

当前栏目

SpringBoot中maven打包,启动报没有主清单属性

SpringBootMaven属性打包 启动 没有 清单
2023-09-27 14:21:58 时间

有时候会出现这种情况,看一下项目的pom中是否有这个插件配置,没有的话需要引入。

<build>
  <plugins>
    <plugin>
      <groupId>org.springframework.boot</groupId>
    <artifactId>spring-boot-maven-plugin</artifactId>
    </plugin>
  </plugins>
 </build>