[jboss-user] [JBossWS] - How to pass a web service client *.class (not jar) to wsrunc

pxstein do-not-reply at jboss.com
Tue Oct 28 15:47:43 EDT 2008

I created a JBoss web service client and all the *.class files are located in a sub-directory


where D:\mywork\test\aaa\bbb\ccc\mymain.class is the class with the main() procedure
and all classes are part of the package aaa.bbb.ccc

So alltogether there is NO *.jar file for the client.

How can I pass mymain.class to wsrunclient and let it run?

D:\mywork\test>D:\JBoss\bin\wsrunclient.bat aaa\bbb\ccc\mymain

does not work because of the error: Exception in thread "main" java.lang.NoClassDefFoundError: mymain

How else can I call the client?


View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4185208#4185208

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4185208

More information about the jboss-user mailing list