As much reading as I've done on CLASSPATH, it remains a bit of a mystery and I can never quite get it configured correctly. I always do it specifically in any build.xml files and that seems to work for me. However, I'm wide open to suggestion on what it should be.

Thanx,
Garth

Bell, Douglas wrote:
Do you have the Axis jar on your classpath?
 
- Doug


From: Garth Keesler [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, January 10, 2007 1:23 PM
To: Axis User
Subject: WSDL2Java Question

The examples below are straight from http://ws.apache.org/axis/java/reference.html#WSDL2JavaReference and neither obviously works (for me). I can't even get --help to work.

[EMAIL PROTECTED]:~$ java org.apache.axis.wsdl.WSDL2Java --help
Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/axis/wsdl/WSDL2Java

[EMAIL PROTECTED]:~$ java org.apache.axis.wsdl.WSDL2Java --help http://appsrv:8080/axis2/services/wsVendor
Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/axis/wsdl/WSDL2Java

[EMAIL PROTECTED]:~$ java org.apache.axis.wsdl.WSDL2Java http://appsrv:8080/axis2/services/wsVendor?wsdl
Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/axis/wsdl/WSDL2Java

Here's a snippet from the web site instructions:

Usage: java org.apache.axis.wsdl.WSDL2Java [options] WSDL-URI
Options:

-h, --help
  print this message and exit
  
What am I doing wrong?

Thanx,
Garth

--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to