Devakara
14 years agoOccasional Contributor
NoClassDefFoundError ModelItemConfig
Hi,
I am trying to run a particular test case in soapUI project XML, using simple/standalone Java class.
Code I used is:
This is throwing an Exception: java.lang.NoClassDefFoundError, when executing/initializing wsdl project.
(There are no compilation errors)
I have included soapui-3.0.1.jar and xmlpublic-2.4.0.jar in build path of this java project. Below is the exact exception message:
Exception in thread "main" java.lang.NoClassDefFoundError: com/eviware/soapui/config/ModelItemConfig
Could anyone look into this and let me know what is missing in my attempt, or should I include any other jar(s).
Thanks,
Devakara.
I am trying to run a particular test case in soapUI project XML, using simple/standalone Java class.
Code I used is:
public class RunSoapUIProject {
public static void main(String[] args) {
try {
String projectPath = "C:\\soap\\LP-soapui-project.xml";
WsdlProject project = new WsdlProject(projectPath);
List<TestSuite> testSuites = project.getTestSuiteList();
System.out.println(testSuites.toString());
// some useful code here
} catch (Exception e) {
e.printStackTrace();
}
}
This is throwing an Exception: java.lang.NoClassDefFoundError, when executing/initializing wsdl project.
(There are no compilation errors)
I have included soapui-3.0.1.jar and xmlpublic-2.4.0.jar in build path of this java project. Below is the exact exception message:
Exception in thread "main" java.lang.NoClassDefFoundError: com/eviware/soapui/config/ModelItemConfig
Could anyone look into this and let me know what is missing in my attempt, or should I include any other jar(s).
Thanks,
Devakara.