My Oracle Support Banner

Compiling With Maven Gives Error "ZIP file can't be opened as a file system because an entry has a '.' or '..' element in its name" After Upgrading to JDK 11 and Above (Doc ID 2926585.1)

Last updated on FEBRUARY 07, 2023

Applies to:

Java SE JDK and JRE - Version 11 and later
Information in this document applies to any platform.

Symptoms

After upgrading to JDK 11 from JDK 8, Maven compilation gives the following error:

 

Changes

 JDK has been upgraded from JDK8 to JDK11

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Changes
Cause
Solution

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.