cxf-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From JavaRunner <randomno...@bellsouth.net>
Subject Re: Java2WSDL Problem
Date Thu, 07 Feb 2008 14:37:43 GMT

Thanks.
What a coincidence.  I was raised in Rotherham, but now live in Florida.  I
have happy memories of Sheffield and it's surrounding hills and beautiful
Derbyshire etc.


ianroberts wrote:
> 
> 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
> i.roberts@dcs.shef.ac.uk  | University of Sheffield, UK
> 
> 

-- 
View this message in context: http://www.nabble.com/Java2WSDL-Problem-tp15306688p15334974.html
Sent from the cxf-user mailing list archive at Nabble.com.


Mime
View raw message