After I restarted myeclipse, the exception disappeared. I tried deploying and redeploying my project times and make sure that the exception has gone. i think when i remove the xerce jar form build path in eclipse,it wasn't really removed. there is always weird things with ide. I’m sorry to bother you.
goodfun wrote: > > hello, > I met the exactly same problem with myeclipse6, > when I use ' run as myeclipse server application' , > the tomcat server6 starts successfully and the project works, > then i redeploy the project ,the exception apperas. > i remove the xerce jar from my project as you said but unfortunately the > exception remains. > > > Someone else meets this problem also, but situation differs. See > http://www.mail-archive.com/[EMAIL PROTECTED]/msg24296.html > > I tried to depoy a single struts-application in tomcat server, but that > doesn't work. > > I am confused about this. > > Any ideas on how to deal with this? > > thank you . > > I am really sorry for resending this mail :( > > > > Carl Doersch wrote: >> >> Thanks for the reply. That FAQ was a big help - it turns out there was a >> conflict between tomcat's internal XML parser and the xerces I was using >> inside my project. I removed the xerces jar from my project a little >> while ago, and I haven't seen the exception since then. >> >> >> Michael Glavassevich wrote: >>> >>> Hi Carl, >>> >>> Every time I've seen such an error it's been a ClassLoader problem. I >>> don't >>> know anything about Netbeans but we have an FAQ [1] for a similar issue >>> with WebSphere. It points to an article which might give you some clues >>> on >>> what might be happening. >>> >>> Thanks. >>> >>> [1] http://xerces.apache.org/xerces2-j/faq-general.html#faq-5 >>> >>> Michael Glavassevich >>> XML Parser Development >>> IBM Toronto Lab >>> E-mail: [EMAIL PROTECTED] >>> E-mail: [EMAIL PROTECTED] >>> >>> >>> >> >> > > -- View this message in context: http://www.nabble.com/org.apache.xerces.parsers.XML11Configuration-cannot-be-cast-to-org.apache.xerces.xni.parser.XMLParserConfiguration-tp14108368p16763206.html Sent from the Xerces - J - Users mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]