no main manifest attribute, in testProject-1.0-SNAPSHOT.jar
错误描述:
no main manifest attribute, in testProject-1.0-SNAPSHOT.jar错误描述:
maven工程打包的时候出了问题,导致打包运行有问题- 错误原因:
<parent>
标签导入的包名有问题
<parent>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-parent</artifactId>
<version>2.0.4.RELEASE</version>
</parent>
- 解决办法:
修改<parent>
标签导入的包名
<parent>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent</artifactId>
<version>2.0.4.RELEASE</version>
</parent>