apoorva
17 years agoOccasional Contributor
Exception in thread "main" java.lang.NoClassDefFoundError: com/eviware/soapui/Cr
Hi All,
I created java program which create mockresponses for web service. I put java file (CreateWsdlProject.java) under com.eviware.soapui and I created bat file under dist_standalone\bin. along with xxxrunner.bat files. I set all classpath as well.
My bat file looks like this
set JAVA=..\jre\bin\java
rem init classpath
set CLASSPATH=soapui-2.0.2.jar
set CLASSPATH=%CLASSPATH%;..\lib\activation-1.1.jar
set CLASSPATH=%CLASSPATH%;..\lib\javamail-1.4.jar
...........
......
set CLASSPATH=%CLASSPATH%;..\lib\bcprov-jdk15-138.jar
rem JVM parameters, modify as appropriate
set JAVA_OPTS=%JAVA_OPTS% -Xms128m -Xmx256m -Dsoapui.properties=soapui.properties
"%JAVA%" %JAVA_OPTS% -cp "%CLASSPATH%" com.eviware.soapui.CreateWsdlProject %*
But when I run this bat file it shows me error like
Exception in thread "main" java.lang.NoClassDefFoundError: com/eviware/soapui/CreateWsdlProject
I also make sure that class file is also available at above mentioned location..
Is there any other dependencies that I have to look..
I will appreciate if any input will be available.
Regards,
Jim
I created java program which create mockresponses for web service. I put java file (CreateWsdlProject.java) under com.eviware.soapui and I created bat file under dist_standalone\bin. along with xxxrunner.bat files. I set all classpath as well.
My bat file looks like this
set JAVA=..\jre\bin\java
rem init classpath
set CLASSPATH=soapui-2.0.2.jar
set CLASSPATH=%CLASSPATH%;..\lib\activation-1.1.jar
set CLASSPATH=%CLASSPATH%;..\lib\javamail-1.4.jar
...........
......
set CLASSPATH=%CLASSPATH%;..\lib\bcprov-jdk15-138.jar
rem JVM parameters, modify as appropriate
set JAVA_OPTS=%JAVA_OPTS% -Xms128m -Xmx256m -Dsoapui.properties=soapui.properties
"%JAVA%" %JAVA_OPTS% -cp "%CLASSPATH%" com.eviware.soapui.CreateWsdlProject %*
But when I run this bat file it shows me error like
Exception in thread "main" java.lang.NoClassDefFoundError: com/eviware/soapui/CreateWsdlProject
I also make sure that class file is also available at above mentioned location..
Is there any other dependencies that I have to look..
I will appreciate if any input will be available.
Regards,
Jim