Eclipse mvn install error in opening zip file

Source: Internet
Author: User

error Message
Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.3.2:compile (default-Failure executing Javac, but could not parse theerror: [ERROR] Error: Read C:\Users\ Administrator\.m2\repository\net\sf\jasperreports\jasperreports\4.7.1\jasperreports-4.7.1Error in Opening zip file... .... ... ... ... ... ... ... ... ... ... ... .... ... ..... ..... ..... ..... ..... ..... ..... ..... ..... ..... ..... ..... .....

Solution Solutions

Delete the error packet in the warehouse (this project is Jasperreports-4.7.1.jar), re-download to resolve.

Add: If Maven does not have permission to download the jar is incomplete, you need to check and modify the configuration file after re-download or directly manually download the full package is placed in the specified directory.

Problem Analysis

1. If "Error in opening zip file" errors, most of the package download is problematic, although the repository has jar files, but with the decompression software will be an error, it is recommended to delete the retry.

2. In addition maven sometimes this situation will also report the above error: The warehouse set the user name password, but MAVEN is not configured, the normal situation maven should prompt no permissions, but sometimes Maven does not prompt and directly download the jar, downloaded to half but found no permissions, This causes the downloaded jar to be incomplete. This situation is still problematic in the event of a timely re-download, either by modifying the MAVEN configuration file or by downloading it manually.

Related Article

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.