我在路径xxx/IdeaProjects/xxx/out/artifacts/abc_jar
中创建了一个jar。使用Intellij生成JAR文件失败
当我使用Java的罐子运行它,我得到
Could not find or load main class ...
我提出mainfest文件xxx/IdeaProjects/xxx/src/main/resources/META-INF/MANIFEST.MF
和主类是com.rh.xxx.Application
,但仍然得到
Could not find or load main class...
查看http://stackoverflow.com/a/42200519/104891举例。 – CrazyCoder