Forum Discussion
4 Replies
- nmrao
Champion Level 1
Add jar file from ReadyAPI_HOME/bin/ to your project's classpath.- NewTesterOccasional Contributor
Hi Rao,
Thank you for the help. I did add the jar, now I get an different error as "java.lang.NoClassDefFoundError: com/eviware/soapui/model/project/MockServiceLifecycleListener".
Regards,
- nmrao
Champion Level 1
Same classpath issue. You may try adding the jar files from READYAPI_HOME/lib to classpath.
- NewTesterOccasional Contributor
Hi Rao,
Thank you. I have added all the Jar in ReadyAPI_HOME/bin/ and READYAPI_HOME/lib to class path but still i get the error as given below.
Code 1: WsdlTestCase testCase = new WsdlProject("src/test/resources/xml/SoapUI")
.getTestSuiteByName("TestSuite 1")
.getTestCaseByName("TestCase 1");Error : org.apache.xmlbeans.XmlException: error: Unexpected element: CDATA
Code 2: WsdlTestCase testCase = new WsdlProjectPro("src/test/resources/xml/SoapUI")
.getTestSuiteByName("TestSuite 1")
.getTestCaseByName("TestCase 1");Error : java.lang.NoClassDefFoundError: com/eviware/soapui/impl/wsdl/WsdlProjectPro