cannot be read or is not valid zip file

After eclipse downloads the maven project, it is found that there is a red exclamation mark in front of the project, and the project cannot be started normally. Solutions:
  1: Change the directory corresponding to the settings file in your project to another drive letter other than the C drive. Note that the folder does not need to be used. Do not have Chinese and spaces
     in the name to find this sentence under maven, the middle is your directory
     <localRepository>${user.home}/.m2/repository</localRepository>  
  2. Right-click on your project and select update under maven project
  3. Restart your eclipse, after you come in, clean your project and it should be ok

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=326218979&siteId=291194637