Tomcat各種報錯原因和解決方法彙總
阿新 • • 發佈:2019-01-22
部分內容轉載自網路
1、報錯:java.lang.IllegalAccessError: class org.xml.sax.helpers.SecuritySupport12 cannot access its superclass org.xml.sax.helpers.SecuritySupport
原因:能夠正常部分部署在Tomcat6上的程式,部署到Tomcat7上時,會報該錯誤。
解決辦法:
Please add metadata-complete="true" in your web.xml to override default properties of 3.0 for annotations.