When using JPA with hibernate, some DTD are not resolved using local version (from classpath). The issue comes from buildStaxFactory() in JaxbProcessor, no EntityResolver is set when the new instance of XMLInputFactory is created.