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.