I\'m using Java 1.7.0_40 on Red Hat Linux and I have the following code:
Path zipfile = Paths.get(filename); FileSystem fs = FileSystems.newFileSystem(zipfil
I too faced the issue in Maven based project. The issue occurred because of corrupted jars. Deleted the jars from .m2 folder and built the project again; and it worked like charm.