For some reason, transitive deps show up in the classpath before direct dependencies, so
you get issues like this. It's something I will eventually try to fix in maven,
because I think direct deps should come first.
For now, you can exclude the transitive dep on jbossxb by adding this to the container
dependency.
| <dependency>
| <groupId>org.jboss.microcontainer</groupId>
| <artifactId>jboss-container</artifactId>
| <version>2.0.0-SNAPSHOT</version>
| <scope>compile</scope>
| <exclusions>
| <exclusion>
| <groupId>jboss</groupId>
| <artifactId>jbossxb</artifactId>
| </exclusion>
| </exclusions>
| </dependency>
|
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4077827#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...