glassfish: while deploying the app IOException: invalid zip file

前端 未结 1 385
鱼传尺愫
鱼传尺愫 2021-01-22 09:55

In deploying the EAR through the CLI, this error occurs:

Exception while deploying the app [EnterpriseLegacy] : java.io.IOException: invalid zip file: file:/home         


        
相关标签:
1条回答
  • 2021-01-22 10:36

    I had this problem right now and it was being caused by a wrong JDBC resource name. Once I fixed this in persistence.xml the .ear deployed successfully.

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