archive for required library could not be read or is not a valid ZIP file

后端 未结 18 2268
醉梦人生
醉梦人生 2020-12-03 04:27

Before coming to the problem let me explain what I did that has landed me in the problem.

  1. I created an account on github and made a repository named Android.
相关标签:
18条回答
  • 2020-12-03 05:09

    For Java web application, web.xml added as jar in the project. In project explorer, try to find web.xml as in jar icon and remove from the project. Error will go away!!

    0 讨论(0)
  • 2020-12-03 05:10

    A solution that worked for me: go to *.classpath and delete the line : <classpathentry kind="lib" path="the_problematic_class.java"/>

    0 讨论(0)
  • 2020-12-03 05:12

    i was facing same problem in Eclipse Mars. I downloaded the jars from [https://oss.jfrog.org/webapp/#/artifacts/browse/tree/General/repo/org/ethereum/ethereumj-core/1.0.0-SNAPSHOT][1] and replaced it in the directory.

    I got error while adding ethereum.jar using pom.xml at C:\Users{machineName}.m2\repository\org\ethereum\ethereumj-core\1.0.0-SNAPSHOT\ethereum-core-1.0.0-SNAPSHOT.jar , i added the downloaded jar(ethereum-core-1.0.0-SNAPSHOT.jar) here and the problem was solved.

    0 讨论(0)
  • 2020-12-03 05:12

    In my case, the java installation was not proper. So, I uninstalled Java and reinstalled a new version. Now, it works.

    0 讨论(0)
  • 2020-12-03 05:13

    In my case I tried all the tips suggested but the error remained. I solved changing version with a more recent one and writing that in the pom.xml. After this everything is now ok.

    0 讨论(0)
  • 2020-12-03 05:14

    I was stacked on this problem for days despite searching for a solution on the net. I first moved my project to Netbeans and all worked fine. I then returned to eclipse->properties->java compile-> Building and changed "Incompartible build path" option from error to warning and then did maven update and it worked.

    0 讨论(0)
提交回复
热议问题