JavaRunner wrote:
When I run this file I get the following error:
Java2WSDL Error: Fail to load class : FooBar
I have run from the root (C:\) and from the directory that the class is in
and whether I fully qualify all the various names or not I still get this
error.
Here is the cmd:
java2wsdl -o my.wsdl -d c:\MyStuff -s c:\Eclipse-Workspace\MyProject\src
-classdir c:\Eclipse-Workspace\MyProject\WebContent\WEB-INF\classes -cp
c:\Eclipse-Workspace\MyProject\WebContent\WEB-INF\lib FooBar

You can't just put WEB-INF\lib on your classpath - what goes on the classpath is the JAR files in the directory, not the directory itself (i.e. ...\WEB-INF\lib\my-file.jar;....\WEB-INF\lib\another.jar;...).

Ian

--
Ian Roberts               | Department of Computer Science
[EMAIL PROTECTED]  | University of Sheffield, UK

Reply via email to