On Fri, Apr 24, 2009 at 11:30 AM, Rajneesh Kumar < [email protected]> wrote:
> Hi All, > > > > I have created and deployed a web service on axis2. Now I start to work for > client as it is given on apache axis2 site. After some effort the client > gets compiled. But I am not able to run it because it needs many approx 56 > jar file at run time as apache suggest. I have tried to set all in > environment variable “CLASSPATH” but it does not accept so many file names. > Then I tried to set class path using a batch file technique also tried to > set it on command prompt directly but in each case failed and the client app > produce error on console: > > > > The stack trace is given below: > > > > C:\ axiswebservice\WeatherClient>java WeatherRPCClient > > Exception in thread "main" java.lang.NoClassDefFoundError: > org/apache/axiom/om/OMNode > Use ant to execute your client, since you can list a directory with all your JAR's and ant will take care of everything for you. - R
