Corrupt jar file

后端 未结 12 1119
伪装坚强ぢ
伪装坚强ぢ 2020-11-30 03:42

I have created a jar file in windows 7 using eclipse. When I am trying to open the jar file it says invalid or corrupt jar file. Can anyone suggest me why the jar file is in

12条回答
  •  轻奢々
    轻奢々 (楼主)
    2020-11-30 04:30

    Could be because of issue with MANIFEST.MF. Try starting main class with following command if you know the package where main class is located.

    java -cp launcher/target/usergrid-launcher-1.0-SNAPSHOT.jar co.pseudononymous.Server
    

提交回复
热议问题