Hi All,
I have been working on functional test automation for the API’s at work. We are using SoapUI for the automation of the functional tests. We wanted to invoke the test suite from the Junit test. When I was trying to call the test case from JUnit. Strangely, I found that the test cases with JDBC steps failed.
Reason for failure :
NoClassDefFoundError: java/sql/SqlFeatureNotSupportedException
After some research online, this is what I found out.
I was using Jdbc drivers for Java 6 and I was compiling my code with Java 5. So changing my project settings to use Java 6 libraries and making the Java compiler as Java 1.6 Compiler did the trick.
I hope this helps someone out there. Let me know, If I made your day.