[jboss-dev] Compiling ejb3-metadata using jdk 1.5

Carlo de Wolf cdewolf at redhat.com
Tue Mar 25 17:15:24 EDT 2008


Hmm, more Maven voodoo.

[INFO] +- org.jboss:jboss-metadata:jar:1.0.0-SNAPSHOT:compile
[INFO] |  +- org.jboss:jboss-vfs:jar:2.0.0.Beta7:compile (version 
managed from 2.0.0.Beta4)
[INFO] |  +- org.jboss:jbossws-spi:jar:1.0.0.GA:compile
[INFO] |  +- org.jboss:jboss-jaxws:jar:2.0.1.GA:compile
[INFO] |  +- org.jboss:jbossxb:jar:2.0.0.CR7:compile
[INFO] |  |  +- org.jboss:jboss-reflect:jar:2.0.0.Beta12:compile 
(version managed from 2.0.0.Beta11)
[INFO] |  |  +- apache-xerces:xercesImpl:jar:2.9.1:compile
[INFO] |  |  \- wutka-dtdparser:dtdparser121:jar:1.2.1:compile
[INFO] |  \- org.jboss.javaee:jboss-javaee:jar:5.0.0-SNAPSHOT:compile 
(version managed from 5.0.0.Beta3)

[INFO] +- org.jboss:jboss-metadata:jar:1.0.0-SNAPSHOT:compile
[INFO] |  +- org.jboss:jboss-vfs:jar:2.0.0.Beta7:compile (version 
managed from 2.0.0.Beta4)
[INFO] |  +- org.jboss:jbossws-spi:jar:1.0.0.GA:compile
[INFO] |  +- org.jboss:jboss-jaxws:jar:2.0.1.GA:compile
[INFO] |  +- org.jboss:jbossxb:jar:2.0.0.CR7:compile
[INFO] |  |  +- org.jboss:jboss-reflect:jar:2.0.0.Beta12:compile 
(version managed from 2.0.0.Beta11)
[INFO] |  |  +- apache-xerces:xercesImpl:jar:2.9.1:compile
[INFO] |  |  +- wutka-dtdparser:dtdparser121:jar:1.2.1:compile
[INFO] |  |  +- javax.activation:activation:jar:1.0.2:compile
[INFO] |  |  \- javax.xml.bind:jaxb-api:jar:2.0:compile (version managed 
from 2.1)
[INFO] |  |     \- javax.xml.bind:jsr173_api:jar:1.0:compile
[INFO] |  \- org.jboss.javaee:jboss-javaee:jar:5.0.0-SNAPSHOT:compile 
(version managed from 5.0.0.Beta3)

It compiles now. If I hadn't send out a trace in the first place I would 
have shot myself in the foot right now.

Carlo

Adrian Brock wrote:
> On Tue, 2008-03-25 at 18:57 +0100, Carlo de Wolf wrote:
>> The older version being JDK 1.5 :-)
>>
>> I've been trying to find out what's changed, but that is a jungle.
>>
>> JBossXB doesn't define any JAXB dependency, so that needs fixing.
>>
> 
> Yes it does, javax.xml.bind:jaxb-api:2.1
> http://repository.jboss.com/maven2/org/jboss/jbossxb/2.0.0.CR7/jbossxb-2.0.0.CR7.pom
> 
>> Carlo
>>
>> Adrian Brock wrote:
>>> Try mvn dependeny:tree
>>>
>>> Most likely you not getting JAXB 2.1 from the JBossXB
>>> (and don't have it explictly)
>>> so you are getting an older version from somewhere else?
>>>
>>> On Tue, 2008-03-25 at 08:33 +0100, Carlo de Wolf wrote:
>>>> It won't compile because of a missing dependency on JaxB 2.0.
>>>>
>>>> What has changed, where?
>>>>
>>>> [INFO] Compilation failure
>>>> Failure executing javac,  but could not parse the error:
>>>> An exception has occurred in the compiler (1.5.0_12). Please file a bug 
>>>> at the Java Developer Connection (http://java.sun.com/webapps/bugreport) 
>>>>   after checking the Bug Parade for duplicates. Include your program and 
>>>> the following diagnostic in your report.  Thank you.
>>>> com.sun.tools.javac.code.Symbol$CompletionFailure: file 
>>>> javax/xml/bind/annotation/XmlElement.class not found
>>>>
>>>> Carlo
>>>> _______________________________________________
>>>> jboss-development mailing list
>>>> jboss-development at lists.jboss.org
>>>> https://lists.jboss.org/mailman/listinfo/jboss-development
>> _______________________________________________
>> jboss-development mailing list
>> jboss-development at lists.jboss.org
>> https://lists.jboss.org/mailman/listinfo/jboss-development




More information about the jboss-development mailing list