JDK 11 failed with truncated package

For the Oracle JDK 11 build of ClassGraph, I get:

error reading /home/travis/.m2/repository/org/junit/jupiter/junit-jupiter-params/5.5.2/junit-jupiter-params-5.5.2.jar; zip END header not found

The other JDK version builds are fine.


In https://travis-ci.org/classgraph/classgraph/jobs/598481129 where this error occurred for the first time, this archive was re-downloaded from google-maven-central and stored in build cache.

Clear the cache and you should be good.

You’re right, I cleared the cache and the problem has resolved. Thanks!