IntelliJ Maven “Error: Invalid or corrupt jarfile”

后端 未结 1 1418
借酒劲吻你
借酒劲吻你 2021-02-01 21:58

I\'m using IntelliJ to develop Java Desktop applications. On my project, I added framework support for Maven and added a dependency to the pom.xml file

相关标签:
1条回答
  • 2021-02-01 22:26
    1. Go to Module Settings --> Artifacts
    2. Create a new folder called META-INF
    3. Add the MANIFEST file which should be located in your src folder

    as a file

    This will tell IntelliJ to copy the manifest into the jar file.

    0 讨论(0)
提交回复
热议问题