In Java 1.6, we can't find XMLConstants.ACCESS_EXTERNAL_DTD and ACCESS_EXTERNAL_STYLESHEET. So I used XMLConstants.FEATURE_SECURE_PROCESSING for secure coding.
When I run our maven project on server, I got this error message {exception=java.lang.IllegalArgumentException: http://javax.xml.XMLConstants/feature/secure-processing}
Please help me with this issue.