An error indicating that the ZIP file cannot be opened occurs during Maven compilation.

Source: Internet
Author: User
Tags svn client

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.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.