Error:
java.lang.IllegalAccessError: class org.xml.sax.helpers.SecuritySupport12 cannot access its superclass org.xml.sax.helpers.SecuritySupport
berlaku ketika cuba run kod di atas Tomcat 7 dengan JDK 1.7
Penyelesaian:
masukkan property metadata-complete="true" dalam web.xmlContoh:
<web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://java.sun.com/xml/ns/javaee"
xmlns:web="http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd"
xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_3_0.xsd" id="WebApp_ID" version="3.0" metadata-complete="true">
2 comments:
thanks~ it solved that exception! ;)
Thanks sana... it solved my problem too.. thanks again
Post a Comment