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

Adrian Brock abrock at redhat.com
Tue Mar 25 13:45:01 EDT 2008


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
-- 
xxxxxxxxxxxxxxxxxxxxxxxxxxxx
Adrian Brock
Chief Scientist
JBoss, a division of Red Hat
xxxxxxxxxxxxxxxxxxxxxxxxxxxx




More information about the jboss-development mailing list