Error with maven jar file cannot read not valid ZIP file

If you get error Error with maven jar file cannot read not valid ZIP file when creates Maven project in eclipse it means its local repository not loaded properly. To fix this issue please follow below steps:

  • Go to your [User_Folder]/.m2 here you will folder name repository
  • Close your eclipse to delete repository folder
  • Delete repository folder
  • Now open your eclipse and clean and refresh your project
  • This should fix the issue.

Leave a Reply

Your email address will not be published. Required fields are marked *