Forum Discussion
4 Replies
- nmraoChampion Level 3Add 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,
- nmraoChampion Level 3Same 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
Related Content
- 4 years ago
- 7 years ago