5 Replies Latest reply on Jan 10, 2018 12:47 PM by Tomaz Cerar

    Classloading in WildFly 10

    Eric Hodges Newbie

      I'm trying to get an EAR running on WildFly 10.  I can't figure out how to control the order of JARs on the classpath for my EAR.  I've read https://docs.jboss.org/author/display/WFLY10/Class+Loading+in+WildFly, but I don't see anything in there about controlling JAR order.  I edited the manifest for my EJB jar to change the order, but that had no effect.


      The problem is that xstream depends on xmlpull and xpp3 jars, and both of them define the same set of interfaces.  When the XmlPullParserFactory is testing a new instance of MXParser to see if it implements XmlPullParser, that test returns false.  MXParser really does implement XmlPullParser, but it must be the version from a different jar.