• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • Liutauras Vilda
  • Jeanne Boyarsky
  • paul wheaton
Sheriffs:
  • Ron McLeod
  • Devaka Cooray
  • Henry Wong
Saloon Keepers:
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Tim Moores
  • Mikalai Zaikin
Bartenders:
  • Frits Walraven

Caused by: java.lang.ClassCastException: org.apache.xerces.parsers.XML11Configuration cannot be cast

 
Ranch Hand
Posts: 38
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello guys,

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.

Best Regards,
-marckun

NOTE: If ever I posted in the wrong forum, please guide me to the correct one.. Im still a newbie here. sorry
 
Greenhorn
Posts: 3
Oracle Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I have the same problem
 
Marc Heruela
Ranch Hand
Posts: 38
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

hong zhong wrote:I have the same problem



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..
 
Thank you my well lotioned goddess! Here, have my favorite tiny ad!
Gift giving made easy with the permaculture playing cards
https://coderanch.com/t/777758/Gift-giving-easy-permaculture-playing
reply
    Bookmark Topic Watch Topic
  • New Topic