inline Java libraries in WEB-INF/lib get corrupted

Originally published on May 1st, 2020 (Last updated on May 1st, 2020)

When putting .jar-libraries into the WEB-INF/lib direc­to­ry of an App Engine project, the file get’s cor­rupt­ed (wrong size) and can’t be opened by the serv­er (throw­ing ZipException: error in opening zip file) after compiling.

Remov­ing <filtering>true</filtering> from the org.apache.maven.plugins-plu­g­in in the projects pom.xml-file fix­es the prob­lme. See Stack­Over­flow.

Comments

No com­ment sec­tion here 😄

You can reach me over at @knuth_dev or send me an Email.