Failed to start component - ZipException: invalid LOC header (bad signature) [duplicate]

余生颓废 提交于 2019-11-29 03:43:13

I have solved similar kind of problem by deleting all files present in local maven repository and downloading them again.

linux or mac users can follow below steps for deleting all files.

  1. navigate to .m2 file
  2. execute remove command (rm -rf repository/).

Nagivate to your C:\Users\user.m2\repository\projects\project1

Pick the corresponding project and delete it from your .m2. Then do mvn clean install in the terminal it will recreate those jar files for you Reinstall the ear or war file in server and it should deploy just fine now.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!