IntelliJ Compilation Error zip END header not found

We Are Going To Discuss About IntelliJ Compilation Error zip END header not found. So lets Start this Java Article.

IntelliJ Compilation Error zip END header not found

Advertisements
  1. IntelliJ Compilation Error zip END header not found

    As mentioned above, just delete the corrupted cache and restart Intellij.
    Running gradle in the commandline can help knowing what you should delete. For instance:
    $ ./gradlew --version Could not unzip /home/cesarc/.gradle/wrapper/dists/gradle-5.6.2-all/9st6wgf78h16so49nn74lgtbb/gradle-5.6.2-all.zip to /home/cesarc/.gradle/wrapper/dists/gradle-5.6.2-all/9st6wgf78h16so49nn74lgtbb.

  2. IntelliJ Compilation Error zip END header not found

    As mentioned above, just delete the corrupted cache and restart Intellij.
    Running gradle in the commandline can help knowing what you should delete. For instance:
    $ ./gradlew --version Could not unzip /home/cesarc/.gradle/wrapper/dists/gradle-5.6.2-all/9st6wgf78h16so49nn74lgtbb/gradle-5.6.2-all.zip to /home/cesarc/.gradle/wrapper/dists/gradle-5.6.2-all/9st6wgf78h16so49nn74lgtbb.

Solution 1

Advertisements

As mentioned above, just delete the corrupted cache and restart Intellij.

Running gradle in the commandline can help knowing what you should delete. For instance:

$ ./gradlew --version
Could not unzip /home/cesarc/.gradle/wrapper/dists/gradle-5.6.2-all/9st6wgf78h16so49nn74lgtbb/gradle-5.6.2-all.zip to /home/cesarc/.gradle/wrapper/dists/gradle-5.6.2-all/9st6wgf78h16so49nn74lgtbb.
Reason: error in opening zip file

and after deleting the folder /home/cesarc/.gradle/wrapper/dists/gradle-5.6.2-all/9st6wgf78h16so49nn74lgtbb the problem was solved:

$ ./gradlew --version
Downloading https://services.gradle.org/distributions/gradle-5.6.2-all.zip
......

Original Author Fulvio Flaco Of This Content

Solution 2

Advertisements

We had this issue when internet connection dropped while Idea was downloading project dependencies. We solved it by deleting the corrupted file from cache. Cache location depends on your build tool, e. g. for Maven it’s in ~/.mvn, for Gradle it’s in ~/.gradle.

Original Author dizeee Of This Content

Solution 3

Advertisements

I Had Similar issue in my mac.I just deleted .m2 repository and did maven clean install again worked.

Original Author Rocky4Ever Of This Content

Solution 4

Advertisements

In my case, it was: /.m2/repository/org/apache/tomcat/embed/tomcat-embed-core/9.0.41/tomcat-embed-core-9.0.41.jar
I just removed it and I was able to compile my code.
Just pay attention to the .jar file in your case it’s giving an error. Just remove it and you are good to go.

Original Author Abhishek Patre Of This Content

Conclusion

So This is all About This Tutorial. Hope This Tutorial Helped You. Thank You.

Also Read,

Siddharth

I am an Information Technology Engineer. I have Completed my MCA And I have 4 Year Plus Experience, I am a web developer with knowledge of multiple back-end platforms Like PHP, Node.js, Python and frontend JavaScript frameworks Like Angular, React, and Vue.

Leave a Comment