cxf-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From James Mao <james....@iona.com>
Subject Re: Maven install from Incubator TRUNK error
Date Mon, 08 Oct 2007 05:20:40 GMT
You must use jdk6, which include the 2.0 version of jaxb and jaxws.
You have to endorse the jaxb 2.1 and jaxws 2.1 jars

James

> I have completed a checkout from
> http://svn.apache.org/repos/asf/incubator/cxf/trunk
>
> Downloaded and installed Maven 2.0.7.
>
> Went to execute:
>
> mvn install -Pfastinstall -Psetup.eclipse
>
> from the trunk directory and are getting the following error:
>
> [INFO] Building Apache CXF API
> [INFO]    task-segment: [install]
> [INFO]
> ----------------------------------------------------------------------------
> [INFO] [dependency:unpack {execution: unpack-schemas}]
> [INFO] Configured Artifact:
> org.apache.cxf:cxf-common-schemas:2.1-incubator-SNAPSHOT:jar
> [INFO] Expanding: C:\Documents and
> Settings\shaneb\.m2\repository\org\apache\cxf\cxf-common-schemas\2.1-incubator-SNAPSHOT\cx
> f-common-schemas-2.1-incubator-SNAPSHOT.jar into
> C:\dev\apache\cxf\trunk\api\target\schemas
> [INFO] [cxf-common-xsd:xsdtojava {execution: generate-sources}]
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] FATAL ERROR
> [INFO]
> ------------------------------------------------------------------------
> [INFO] JAXB 2.0 API is being loaded from the bootstrap classloader, but this
> RI (from jar:file:/C:/Documents and Settings/sha
> neb/.m2/repository/com/sun/xml/bind/jaxb-impl/2.1.4/jaxb-impl-2.1.4.jar!/com/sun/xml/bind/v2/model/impl/ModelBuilder.class)
> n
> eeds 2.1 API. Use the endorsed directory mechanism to place jaxb-api.jar in
> the bootstrap classloader. (See http://java.sun.c
> om/j2se/1.5.0/docs/guide/standards/)
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Trace
> java.lang.LinkageError: JAXB 2.0 API is being loaded from the bootstrap
> classloader, but this RI (from jar:file:/C:/Documents and
> Settings/shaneb/.m2/repository/com/sun/xml/bind/jaxb-impl/2.1.4/jaxb-impl-2.1.4.jar!/com/sun/xml/bind/v2/model/impl/Mode
> lBuilder.class) needs 2.1 API. Use the endorsed directory mechanism to place
> jaxb-api.jar in the bootstrap classloader. (See
> http://java.sun.com/j2se/1.5.0/docs/guide/standards/)
>
> Where is maven picking up the original JAXB classes from?
>   

Mime
View raw message