- Notifications
You must be signed in to change notification settings - Fork 16
Closed
Description
Hi
I am new to implementing utPLSQL-cli .
- When I use 'run' it executing fine , but with 'reporters' getting the below error.
$ utplsql reporters $UT_DATABASE Exception in thread "main" java.lang.NoClassDefFoundError: oracle/jdbc/OracleType at org.utplsql.api.reporter.inspect.ReporterInspector310.getDescription(ReporterInspector310.java:67) at org.utplsql.api.reporter.inspect.ReporterInspector310.getReporterInfo(ReporterInspector310.java:51) at org.utplsql.api.reporter.inspect.ReporterInspector310.<init>(ReporterInspector310.java:34) at org.utplsql.api.reporter.inspect.ReporterInspector.create(ReporterInspector.java:35) at org.utplsql.cli.ReportersCommand.run(ReportersCommand.java:45) at org.utplsql.cli.Cli.runWithExitCode(Cli.java:42) at org.utplsql.cli.Cli.main(Cli.java:14) Caused by: java.lang.ClassNotFoundException: oracle.jdbc.OracleType at java.net.URLClassLoader.findClass(URLClassLoader.java:382) at java.lang.ClassLoader.loadClass(ClassLoader.java:424) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:349) at java.lang.ClassLoader.loadClass(ClassLoader.java:357) ... 7 more - Also html report (-f=ut_coverage_html_reporter -o=coverage.html ) is not providing the coverage for the packages outside of the utplsql schema( utplsql framework installed in a separate schema) .
- I have successfully generated the html report for the same test suit with 'ut.run' html_report command.
- Please throw some light on what '-source_path' and how to identify my sourcepath . The value 'source' throwing error. (-source_path=source)
Successfully connected to database. UtPLSQL core: v3.1.2.2134 Oracle-Version: 12.1.0.2.0 java.lang.IllegalArgumentException: source is not a directory. at org.utplsql.cli.FileWalker.getFileList(FileWalker.java:20) at org.utplsql.cli.FileWalker.getFileList(FileWalker.java:13) at org.utplsql.cli.RunCommand.getFileMapperOptionsByParamListItem(RunCommand.java:310) at org.utplsql.cli.RunCommand.newTestRunner(RunCommand.java:232) at org.utplsql.cli.RunCommand.doRun(RunCommand.java:168) 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) Could you please suggest what could have gone wrong here . Is it mismatch between the utPLSQL and utPLSQL-cli ? I thought utPLSQL-cli is compatible with utPLSQL3.0 and above per documentation.
Oracle-Version: 12.1.0.2.0
Running on utPLSQL v3.1.2.2134
utPLSQL-cli 3.1.6.local
utPLSQL-java-api 3.1.6.411
Java-Version: 1.8.0_212
Thanks!!
Metadata
Metadata
Assignees
Labels
No labels