Eclipse Archive for required library in project cannot being read or is not a valid ZIP file

Source: Internet
Author: User

Problems encountered:

Since the project development required the use of Spark's third-party jar package, the Spark's jar package was downloaded and introduced, showing the following problems:

650) this.width=650; "Src=" https://s3.51cto.com/wyfs02/M01/95/38/wKioL1kS2P3zH-7cAAC-2ayBi_M304.png-wh_500x0-wm_ 3-wmp_4-s_2637710262.png "title=" Error.png "alt=" Wkiol1ks2p3zh-7caac-2aybi_m304.png-wh_50 "/>

Archive for Required library: ' F:/lib/spark-assembly-1.5.2-hadoop2.4.0.jar ' on Project ' project ' cannot be read or was not A valid ZIP file

Archive for Required library: ' F:/lib/spark-examples-1.5.2-hadoop2.4.0.jar ' on Project ' project ' cannot be read or was not A valid ZIP file


Solution Ideas:

1, suspected jar package damage, to the spark website to re-download the jar package, the problem persists.

2, because the size of the 2 jar package is relatively large (spark-assembly-1.5.2-hadoop2.4.0 117M; spark-examples-1.5.2-hadoop2.4.0 115M), Doubt is not eclipse memory is not enough, to adjust the memory to 1.5G (the specific method does not detail, degree Niang has many methods), the problem still exists.

3, the project is running on other computers, there is no such problem, so compare two computers have what similarities and differences, nothing but JDK version and Eclipse version, the JDK version to replace the same version, the problem persists, replace the Eclipse version, problem resolution.


Summary: Later Niang a bit, this issue for Eclipse a bug, replace the latest version of Eclipse to solve the problem.


This article is from the "Technology sharing" blog, so be sure to keep this source http://hkwang.blog.51cto.com/12307738/1924238

Eclipse Archive for required library in project cannot being read or is not a valid ZIP file

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.