Community

ClassnotFoundError while trying to use wsrunclient

reply from Viacheslav Garmash in JBoss Web Services - View the full discussion

I have a question about -classpath attribute. Today I tried to run  this command from <JBOSS_HOME>\bin folder using this syntax:

 

wsrunclient.bat  -classpath D:\workspace\WebServiceClient\WebContent\WEB-INF\lib\my-ws-client.jar;D:\workspace\WebServiceClient\build\classes  com.mycompany.ws.WsClientTest

 

But only got this exception:

Exception in thread  "main" java.lang.NoClassDefFoundError:  D:\workspace\WebServiceClient\build\classes
Caused by: java.lang.ClassNotFoundException:  D:\workspace\WebServiceClient\build\classes

 

So it seems  like some bug in parsing value of -classpath attribute inside  wsrunclient.bat

Reply to this message by going to Community

Start a new discussion in JBoss Web Services at Community