where and how did you deploy your sample in tomcat? where is your wsdd file?
You may find this link useful [1].

[1].
http://ws.apache.org/axis/java/user-guide.html#InstallingAxisAndUsingThisGuide

<http://ws.apache.org/axis/java/user-guide.html#InstallingAxisAndUsingThisGuide>Here
I want to make one point. I guess you are using Axis 1.4 which is old. I
guess you should try Axis2. Current released version is 1.5.1 [2].

[2]. http://ws.apache.org/axis2/


<http://ws.apache.org/axis2/>Chinmoy




On Mon, Nov 30, 2009 at 2:29 PM, Liu Bin <korolev...@gmail.com> wrote:

> Dear my friends,
>
> My testing is the step mentioned in the page below.
> http://ws.apache.org/axis/java/install.html#RunTheAdminClient
> or Apache_Axis_1.4_Webservice_
> Install.pdf -> Chap 1.10.3
>
> My platform is Windows XP SP3, with Apache Tomcat 6.0 in port 8080.
> Directory for Tomcat: "C:\Program Files\Apache Software Foundation\Tomcat
> 6.0"
> Directory for AXIS: "C:\Program Files Green\axis-1_4\"
>
> Under directory "C:\Program Files Green\axis-1_4\samples\stock"
> Command: java -cp %AXISCLASSPATH% org.apache.axis.client.AdminClient
> -lhttp://localhost:8080/axis/services/AdminService deploy.wsdd
> Return information:
> Exception in thread "main" java.lang.NoClassDefFoundError: Files
> Caused by: java.lang.ClassNotFoundException: Files
>         at java.net.URLClassLoader$1.run(Unknown Source)
>         at java.security.AccessController.doPrivileged(Native Method)
>         at java.net.URLClassLoader.findClass(Unknown Source)
>         at java.lang.ClassLoader.loadClass(Unknown Source)
>         at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
>         at java.lang.ClassLoader.loadClass(Unknown Source)
>         at java.lang.ClassLoader.loadClassInternal(Unknown Source)
> Could not find the main class: Files.  Program will exit.
>
> My Envirionment Variables:
> AXIS_HOME = C:\Program Files Green\axis-1_4
> AXIS_LIB=%AXIS_HOME%\lib
> AXISCLASSPATH=%AXIS_LIB%\axis.jar;%AXIS_LIB%\commons-discovery.jar;
>     %AXIS_LIB%\commons-logging.jar;
>     %AXIS_LIB%\jaxrpc.jar;%AXIS_LIB%\saaj.jar;
>     %AXIS_LIB%\log4j-1.2.8.jar;
>     %AXIS_LIB%\xml-apis.jar;%AXIS_LIB%\xercesImpl.jar;
>     %AXIS_LIB%\activation.jar;%AXIS_LIB%\dom.jar
>
> Package List under both "C:\Program Files Green\axis-1_4\lib" and
> "C:\Program Files\Apache Software Foundation\Tomcat
> 6.0\webapps\axis\WEB-INF\lib"
> activation.jar
> axis.jar
> axis-ant.jar
> commons-discovery.jar
> commons-logging.jar
> dom.jar
> jaxrpc.jar
> log4j-1.2.8.jar
> log4j.properties
> mail.jar
> saaj.jar
> tools.jar
> wsdl4j-1.5.1.jar
> xercesImpl.jar
> xml-apis.jar
> xmlsec.jar
>
>
> Would anyone please share me your idea about what might be wrong in my
> installation, thanks :)
>
>
> Yours,
> Liu
>
>
> --
>
> LIU Bin
> Shanghai Jiao Tong University
>

Reply via email to