Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

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

2025-04-07 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >

Share

Shulou(Shulou.com)06/03 Report--

Encountered a problem:

Since the development of the project needs to use the third-party jar package of spark, download the jar package of spark and introduce it. The problems are as follows:

Archive for required library: 'FVRULAGUR LIBGUR SPAKMAE assemblyMel 1.5.2MUTHADOOop2.4.0.jar' in project' project' cannot be read or is not a valid ZIP file

Archive for required library: 'FRV LBG SparkMAE examplesMel 1.5.2 Muthhadoop2.4.0.jar' in project' project' cannot be read or is not a valid ZIP file

The solution is as follows:

1. It is suspected that the jar package is damaged. Go to the spark official website to download the jar package again. The problem still exists.

2. Because the sizes of these two jar packets are relatively large (spark-assembly-1.5.2-hadoop2.4.0 117m; spark-examples-1.5.2-hadoop2.4.0 115m), it is doubtful that the memory of eclipse is not enough, so increase the memory to 1.5g (without details, there are many ways for du Niang), the problem still exists.

3, the project will be run on other computers, there is no problem, so compare the similarities and differences between the two computers, but the JDK version and eclipse version are different, change the JDK version to the same version, the problem still exists, change the eclipse version, the problem is solved.

Summary: later du Niang, the problem is a bug of eclipse, and the problem can be solved by replacing the latest version of eclipse.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Internet Technology

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report