utPLSQL / utPLSQL-cli

Command line client for invoking utPLSQL
Apache License 2.0
40 stars 15 forks source link

OpenJDK 14 Issue - java.lang.NoClassDefFoundError: com/sun/nio/zipfs/ZipPath #183

Open lwasylow opened 4 years ago

lwasylow commented 4 years ago

When executing tests via CLI I receiving a following error:

Successfully connected to database. UtPLSQL core: v3.1.11.3380-develop
Oracle-Version: 19.0.0.0.0
java.lang.NoClassDefFoundError: com/sun/nio/zipfs/ZipPath
        at org.utplsql.api.ResourceUtil.getListOfChildren(ResourceUtil.java:64)
        at org.utplsql.api.reporter.CoverageHTMLReporter.writeReportAssetsTo(CoverageHTMLReporter.java:66)
        at org.utplsql.cli.reporters.LocalAssetsCoverageHTMLReporter.init(LocalAssetsCoverageHTMLReporter.java:32)
        at org.utplsql.cli.ReporterManager.initReporters(ReporterManager.java:90)
        at org.utplsql.cli.RunCommand.initReporters(RunCommand.java:296)
        at org.utplsql.cli.RunCommand.doRun(RunCommand.java:157)
        at org.utplsql.cli.RunCommand.run(RunCommand.java:216)
        at org.utplsql.cli.Cli.runWithExitCode(Cli.java:42)
        at org.utplsql.cli.Cli.main(Cli.java:14)
Caused by: java.lang.ClassNotFoundException: com.sun.nio.zipfs.ZipPath
        at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:602)
        at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:178)
        at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:522)
        ... 9 more

$ java --version openjdk 14.0.1 2020-04-14 OpenJDK Runtime Environment (build 14.0.1+7) OpenJDK 64-Bit Server VM (build 14.0.1+7, mixed mode, sharing)

ojdbc8