How to call a class in the jar?
Posted on 2007-10-08
I try deploying the wsdd by following command and go to the dir where axis.jar locates which contains AdminClient.java:
java org.apache.axis.client.AdminClient deploy.wsdd
But I got exception as follow:
C:\Projekte\MVNREPO\repo\axis-1_4\axis\1.4>java org.apache.axis.client.AdminClient deploy.wsdd
Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/axis/client/AdminClient
1. How can I call it correctly?
2. If I don't goto the dir where axis.jar locates but goto the dir where deploy.wsdd locates, how can I call it?