The Source for Java Technology Collaboration
User: Password:



Start New Message Delete Post a Reply

Article: 
 Web Services Made Easy with JAX-WS 2.0
Subject:  ant task wsgen malfunction
Date:  2007-01-12 05:50:25
From:  georgsch


Hi,

as I tried to use the wsgen anttask I got the following error:
[wsgen] error: Could not find class file for ws.StockQuoteImpl
[wsgen] 1 error
[wsgen] error: compilation failed, errors should have been reported

the package is called "ws". the implementation class ist "StockQuoteImpl". My ant target is:
<target name="wsgen" >
<taskdef name="wsgen" classname="com.sun.tools.ws.ant.WsGen">
<classpath path="/usr/lib/jdk1.5.0_06/lib/tools.jar:/home/georg/workspace/JAXWS_TEST/lib/jaxws-tools.jar"/>
</taskdef>
<wsgen
keep="true"
destdir="/home/georg/Desktop/bla"
resourcedestdir="/home/georg/Desktop/bla"
sei="ws.StockQuoteImpl"
cp="${basedir}/bin">
</wsgen>
</target>

What am I doing wrong? I tried to google the error message BUT found no results!. PLEASE HELP ME :-)!
By the way: When I execute wsgen on commandline everything works fine

georg

 Feed java.net RSS Feeds