Wrong Manifest.mf in IntelliJ IDEA created .jar

前端 未结 7 1946
-上瘾入骨i
-上瘾入骨i 2020-11-28 02:08

I\'m trying to package a project using OptaPlanner 6.0.1 libraries into a .jar through IntelliJ IDEA\'s jar artifact but instead of my manifest.mf containing the standard

7条回答
  •  醉梦人生
    2020-11-28 02:15

    I had the same problem.

    Make sure your MANIFEST.MF is in:

    src/main/resources/META_INF/
    

    NOT

    src/main/java/META_INF/
    

提交回复
热议问题