这不起作用,所以我用cmd进行了调试,在清单中没有主类条目。因此,我添加了这个答案的内容(采用到我的应用程序中):Missing Main-Class attibute in MANIFEST.MF in Maven generated jar file 我使用pom.xml: xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
http://
在jar中的maven上构建项目后,我遇到了问题。java -jar artifactId.jarError: Could not find or load main class com.emercit.app.Appcd target/classes/com/emercit/appError: Could not find or load main class App
我在App类中的