apache / apache/incubator-seata-samples
business-service 打包后运行提示没有主清单属性
- Dominant language
- Java
- Stars
- 2.4k
- Forks
- 2k
- PR merge metrics
- No merged PRs in 30d
Description
D:\Projects\seata\fescar-samples\springcloud-jpa-seata\business-service\target>java -jar business-service-1.0.0-SNAPSHOT.jar
business-service-1.0.0-SNAPSHOT.jar中没有主清单属性
business-service-1.0.0-SNAPSHOT.jar\META-INF\MANIFEST.MF
内容为:
Manifest-Version: 1.0
Archiver-Version: Plexus Archiver
Created-By: Apache Maven 3.3.9
Built-By: wangchen7
Build-Jdk: 10
Contributor guide
Research direction
Start by reproducing the `java -jar` failure in `fescar-samples/springcloud-jpa-seata/business-service/target` and inspect the generated JAR's `META-INF/MANIFEST.MF`. Compare the packaging configuration for `business-service` with the expected executable-JAR metadata; done means the packaged artifact runs without the reported missing-main-manifest error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- build-system
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100