users@jaxb.java.net

RE: trying metro

From: Dave Hoffer <DHoffer_at_xrite.com>
Date: Tue, 1 Jan 2008 08:41:38 -0500

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