title: JAXB 2 in an Oracle 10g Webapp
body: <p>I have a web application that uses <a href="https://javaee.github.io/jaxb-v2/" rel="nofollow noreferrer">JAXB 2</a>.  When deployed on an <a href="https://www.oracle.com/technetwork/middleware/ias/overview/index.html" rel="nofollow noreferrer">Oracle 10g Application Server</a>, I get errors as soon as I try to marshal an XML file.  It turns out that Oracle includes <a href="https://github.com/javaee/jaxb-v1" rel="nofollow noreferrer">JAXB 1</a> in a jar sneakily renamed "xml.jar".  </p>
  
  <p>How I can force my webapp to use the version of the jaxb jars that I deployed in <code>WEB-INF/lib</code> over that which Oracle has forced into the classpath, ideally through configuration rather than having to mess about with classloaders in my code?</p>