[jboss-dev-forums] [Design of Messaging on JBoss (Messaging/JBoss)] - Re: NPE booting Embedded JBoss from trunk

scott.stark@jboss.org do-not-reply at jboss.com
Sat Jan 5 02:12:14 EST 2008


I'm not getting far enough because of jaxb version conflicts:

  |    [testng] java.lang.LinkageError: JAXB 2.0 API is being loaded from the bootstrap classloader, but this RI (from jar:file:/home/cvs/Seam/jboss-seam/lib/test/thirdparty-all.jar!/com/sun/xml/bind/v2/model/impl/ModelBuilder.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/)
  |    [testng]     at com.sun.xml.bind.v2.model.impl.ModelBuilder.<clinit>(ModelBuilder.java:172)
  | ...
  |    [testng]     at javax.xml.bind.JAXBContext.newInstance(JAXBContext.java:522)
  |    [testng]     at org.jboss.resource.deployers.ManagedConnectionFactoryParserDeployer.create(ManagedConnectionFactoryParserDeployer.java:88)
  | 
I can't seem to find where the endorsed jars are coming from. I'm currently trying to use the jboss-seam cvs trunk and running the test target from the jboss-seam/src/test/integration directory.


View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4117259#4117259

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4117259



More information about the jboss-dev-forums mailing list