1. first introduce the development environment:
I used mave2.1 and jdk1.7, and installed the svn client.ProgramAnd subversion. In the project, I used the previous Maven library. The default is the. m2/respository directory of the current user under drive C,
The following error occurs during compilation:
2. The error message is as follows:
[Info] ------------------------------------------------------------------------
[Error] Build failure
[Info] ------------------------------------------------------------------------
[Info] compilation failure
Error: Error reading c: \ Users \ mukey \. m2 \ repository \ log4j \ log4j \ 1.2.13 \ log4j-1.2.
13. jar; error in opening ZIP file
3. solution:
All we need to do is delete the "error in opening ZIP file" prompt under the repository directory, and then re-compile the file to OK, if you encounter multiple such errors, you only need to delete the directories with such errors and recompile them,
The reason is still being checked.