I am getting the same error.
C:\Program Files\NetBeans
6.7\NetBeansProjects\HelloClient\nbproject\jaxws-build.xml:19: 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>.
Where do I put the jaxb-api.jar & jaxb-impl.jar files, I do not have
<Java\jdk1.6.0_03>\jre\lib\endorsed
directory, I created the endorsed directory, but it did not make any
difference. I also tried to put these files in
<Java\jdk1.6.0_03>\jre\lib\ext but it did not work also.
So where do I put these files?
I've downloaded the Nightly build from
https://jax-ws.dev.java.net/servlets/ProjectDocumentList?folderID=11088&expandFolder=11088&folderID=5470
Thank you
Peter
On Jan 1, 2008 2:41 PM, Dave Hoffer <DHoffer_at_xrite.com> wrote:
> Since Java 1.6 shipped with JAXB 2.0 it is already in the classpath; if
> you use the later JAXB versions you have to override the versions that
> shipped with 1.6. The way you do this is to install the jaxb 2.1 jars in
> the <Java\jdk1.6.0_03>\jre\lib\endorsed directory.
>
> I.e. jaxb-api-2.1.5.jar & jaxb-impl-2.1.5.jar
>
> -Dave
>
>
> -----Original Message-----
> From: Felipe Gaúcho [mailto:fgaucho_at_gmail.com]
> Sent: Monday, December 31, 2007 7:34 AM
> To: users_at_jaxb.dev.java.net
> Subject: trying metro
>
> I am having problems trying the metro example:
>
> ant server
>
> BUILD FAILED
> C:\felipe\apagar\wsit-jaxws-fromwsdl\build.xml:220: The following error
> occurred
> while executing this line:
> C:\felipe\apagar\wsit-jaxws-fromwsdl\build.xml:151: You are running on
> JDK6 whic
> h comes with JAX-WS 2.0 API, but this tool requires JAX-WS 2.1 API. Use
> the endo
> rsed standards override mechanism
> (http://java.sun.com/javase/6/docs/technotes/g
> uides/standards/), or set xendorsed="true" on <wsimport>.
>
> any tip ?
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_jaxb.dev.java.net
> For additional commands, e-mail: users-help_at_jaxb.dev.java.net
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_jaxb.dev.java.net
> For additional commands, e-mail: users-help_at_jaxb.dev.java.net
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_jaxb.dev.java.net
For additional commands, e-mail: users-help_at_jaxb.dev.java.net
--
View this message in context: http://www.nabble.com/trying-metro-tp14557125p25675426.html
Sent from the java.net - jaxb users mailing list archive at Nabble.com.