title: IntelliJ Compilation Error zip END header not found
body: <p><strong>The Issue</strong></p>
  
  <p>I am unable to compile Java code for an imported Eclipse project on IntelliJ build 182.4505.22 on Java 9 and 10. The following error is displayed when compiling the module, or any individual file:</p>
  
  <pre><code>Error:(1, 1) java: cannot access edu.wit.cs.comp2000
  
  zip END header not found
  </code></pre>
  
  <p><strong>Details</strong></p>
  
  <p>The structure of the project is as follows:
  <a href="https://i.stack.imgur.com/34GJA.png" rel="noreferrer"><img src="https://i.stack.imgur.com/34GJA.png" alt="IntelliJ project structure"></a></p>
  
  <p>The full compile-time output is as follows:
  <a href="https://i.stack.imgur.com/Cv0A7.png" rel="noreferrer"><img src="https://i.stack.imgur.com/Cv0A7.png" alt="enter image description here"></a></p>
  
  <p><strong>Already Attempted</strong></p>
  
  <p>I have reviewed posts <a href="https://stackoverflow.com/questions/48402012/zipexception-zip-end-header-not-found-in-java-9">here</a> and <a href="https://stackoverflow.com/questions/44899421/java-9-zip-end-header-not-found-exception">here</a>, which do not provide any relevant details.
  I have attempted compiling on both Java 9 and 10, which makes no difference.
  I have written a main method into LinkedBag and attempted to run that independent of JUnit, which results in the same error.
  IntelliJ is not correctly displaying the testing icons in my test class, so I suspect that JUnit (or lack of JUnit) is the cause of the issue, however I am unsure how to proceed. Compiling works for other projects (without JUnit tests) just fine.</p>
  
  <p><strong>Updates</strong></p>
  
  <ul>
  <li>The code seems to compile and test as expected on Java 1.8 without issue. Switching to Java 9 or 10 causes the above issue every time. I am beginning to suspect that one of my instructor's dependencies requires Java 1.8 specifically, however I would still like to use newer versions of Java if anyone might have a solution.</li>
  </ul>