[jboss-user] [JBossWS] - SOLUTION: NoClassDefFoundError using Eclipse/JUnit
nlaney
do-not-reply at jboss.com
Wed Feb 6 22:50:39 EST 2008
Problem: wsclientrun sets the classpath in the command line and runs OK. Run/Debug/Junit threw NoClassDefFoundError with the stacktrace in the previous post. The classpath was set on the classpath tab.
Solution: use the same command line arguments as wsclientrun in the JVM arguments field of the arguments tab to set the classpath.
Note: it was necessary to copy the output of wsclientrun and make some changes to the classpath argument, to include bin;output which are the class folders for the test class and the wsconsume generated classes.
Run/Debug/Junit all run without errors!
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4127241#4127241
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4127241
More information about the jboss-user
mailing list