You might be using an old version of one of these jars in your project: xerces, xalan, jaxp api, crimson. Update it and try.
<dependency>
<groupId>xerces</groupId>
<artifactId>xercesImpl</artifactId>
<version>2.11.0</version>
</dependency>