Throws me an error on
Context context
= new Context();
java.nio.file.FileSystemNotFoundException
at com.sun.nio.zipfs.ZipFileSystemProvider.getFileSystem(ZipFileSystemProvider.java:171)
at com.sun.nio.zipfs.ZipFileSystemProvider.getPath(ZipFileSystemProvider.java:157)
at java.nio.file.Paths.get(Paths.java:143)
at org.basex.util.Prop.homePath(Prop.java:142)
at org.basex.util.Prop.<clinit>(Prop.java:96)
at org.basex.core.GlobalOptions.<clinit>(GlobalOptions.java:20)
at org.basex.core.Context.<init>(Context.java:77)
at org.basex.core.Context.<init>(Context.java:69)
........
The
same code works great when executing locally (e.g. within JUnit tests).
Do you have any ideas? Is it generally possible or do I need to deploy
the war application?