close

[Solved] IntelliJ Compilation Error zip END header not found

Hello Guys, How are you all? Hope You all Are Fine. Today I am facing the following error IntelliJ Compilation Error zip END header not found in Java. So Here I am Explain to you all the possible solutions here.

Without wasting your time, Let’s start This Article to Solve This Error.

How IntelliJ Compilation Error zip END header not found Error Occurs?

Today I am facing the following error IntelliJ Compilation Error zip END header not found in Java.

How To Solve IntelliJ Compilation Error zip END header not found Error ?

  1. How To Solve IntelliJ Compilation Error zip END header not found Error ?

    To Solve IntelliJ Compilation Error zip END header not found Error Running gradle in the commandline can help knowing what you should delete. For instance:

  2. IntelliJ Compilation Error zip END header not found

    To Solve IntelliJ Compilation Error zip END header not found Error Running gradle in the commandline can help knowing what you should delete. For instance:

Solution 1

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
......

Solution 2

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.

Summery

It’s all About this issue. Hope all solution helped you a lot. Comment below Your thoughts and your queries. Also, Comment below which solution worked for you? Thank You.

Also, Read