Caused by: java.lang.ClassCastException: org.apache.xerces.parsers.XML11Configuration cannot be cast
Joined: Jul 23, 2009
I've get this very wierd problem. Iv got two projects who're running well in my local (VISTA, Java 1.6, Tomcat 5.5). project is spring/struts/hibernate. But when i deployed it in our test server (LINUX Cent, Java 1.5, Tomcat 1.5), I've got the aforementioned error. The complete stacktrace is below:
I've been browsing forums and the net for almost a day and still no avail.. Some forums told me it's about xerces jar file, it's conflicting tomcat's xml parser, so i deleted it in my lib.. but still the error is there.. please note that with or without the jar file, the error DOES NOT appear in my local server. The error ONLY APPEARS in the test server.. Must it have something to do with my Java version.. Also ladies and gentlemen, even though there's error in the stacktrace, the project (i mean the web site itself) is running.. I just want to remove the error in the logs coz it's quite annoying. Can somebody help me please???
Thank you so much.
NOTE: If ever I posted in the wrong forum, please guide me to the correct one.. Im still a newbie here. sorry
hi.. i think you better check your internet connection.. at least that's my problem.. the tld of struts-default.xml is not loaded because the test server is not connected to the internet.... check if it is not restricting the tld url.. try visiting it to test..