Irum Rauf IT wrote:
I am trying to install *Metro StockTrader* example. I am facing the following problem.

C:\Projects\Stocktrader>\ant\bin\ant deploy
BUILD FAILED
c:\Projects\Stocktrader\build.xml:48: You are running on JDK6 which comes with JAX-WS 2.1 API, but this tool requires JAX-WS 2.2 API. Use the endorsed standards override mechanism (http://java.sun.com/javase/6/docs/technotes/guides/standards/) or set xendorsed="true" on <wsimport>.

Tried putting the JAX-WS 2.2 jars in <java-home>\lib\endorsed - didn't help.


Irum
put webservices-api.jar in JAVA_HOME\jre\lib\endorsed directory.

Reply via email to