org.xml.sax.SAXNotRecognizedException: Feature 'http://javax.xml.XMLConstants/feature/secure-processing' is not recognized org.xml.sax.SAXNotRecognizedException: Feature 'http://javax.xml.XMLConstants/feature/secure-processing' is not recognized xml xml

org.xml.sax.SAXNotRecognizedException: Feature 'http://javax.xml.XMLConstants/feature/secure-processing' is not recognized


Upgrade or add your xercesImpl jar file located in jre/lib/endorsed folder to xercesImpl 2.9.1. You can simply download it and replace it. It must work.


If you have Maven, add this to pom.xml

<dependency>        <groupId>xerces</groupId>        <artifactId>xercesImpl</artifactId>        <version>2.11.0</version></dependency>


You need jdk 7. JDK 8 have this issue with maven tests.