Forum Discussion
Kathryn_O_Malle
14 years agoContributor
Hi there,
I've tried finding an "ext" folder directly under "\loadUI-1.0.1", but found one under "\loadUI-1.0.1\jre\lib\ext" instead, is this the one you meant?
We've tried updating the classpath defined in loadUItest.bat to read as:
I've also seen in my SoapUI code where I create the database connections I import the "groovy.sql.Sql" library.
I've tried running the SoapUI testcase once from loadUI again but unfortunately still no joy...
I see the following errors listed in the DOS command window:
ERROR [SoapUI] An error occured [sun.jdbc.odbc.JdbcOdbcDriver], see error log for details
java.lang.ClassNotFoundException: sun.jdbc.odbc.JdbcOdbcDriver
Error [SoapUI] An error occured [Cannot invoke method getTestStepByName() on null], see error log for details
java.lang.NullPointerException: Cannot invoke method getTestStepByName() on null object
Have I missed something silly? I've not been able to find the OdbcJdbc driver directly, from what I could see on the net its included in the standard RT.jar that is part of the Java JDK.
Help! (Thanks!)
Kind regards
Adam
I've tried finding an "ext" folder directly under "\loadUI-1.0.1", but found one under "\loadUI-1.0.1\jre\lib\ext" instead, is this the one you meant?
We've tried updating the classpath defined in loadUItest.bat to read as:
set CLASSPATH=.;C:\Adam\eviware\loadUI-1.0.1\jre\lib\ext\;lib/*;C:\Adam\eviware\;C:\Program Files\Java\;C:\Program Files\JavaFX\;
I've also seen in my SoapUI code where I create the database connections I import the "groovy.sql.Sql" library.
I've tried running the SoapUI testcase once from loadUI again but unfortunately still no joy...
I see the following errors listed in the DOS command window:
ERROR [SoapUI] An error occured [sun.jdbc.odbc.JdbcOdbcDriver], see error log for details
java.lang.ClassNotFoundException: sun.jdbc.odbc.JdbcOdbcDriver
Error [SoapUI] An error occured [Cannot invoke method getTestStepByName() on null], see error log for details
java.lang.NullPointerException: Cannot invoke method getTestStepByName() on null object
Have I missed something silly? I've not been able to find the OdbcJdbc driver directly, from what I could see on the net its included in the standard RT.jar that is part of the Java JDK.
Help! (Thanks!)
Kind regards
Adam