|
View:
New views
3 Messages
—
Rating Filter:
Alert me
|
|
|
LinkageError org.xml.sax.ParserI am deploying my web app to BEA Weblogic Server 10. My app uses DWR 2.0.1 configured with Spring Framework 2.5.5. When I deploy my web app, I get the following error: java.lang.LinkageError: Class org/xml/sax/Parser violates loader constraints at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClass(ClassLoader.java:620) at java.lang.ClassLoader.defineClass(ClassLoader.java:465) at org.springframework.core.OverridingClassLoader.loadClassForOVerriding(OverridingClassLoader.java:97) at org.springframework.core.OverridingClassLoader.loadClass(OverridingClassLoader.java:60) ... I narrowed the error down by removing all jars from my web app WEB-INF/lib and adding them back one by one, resolving noClassDefFound errors. Once I added dwr-2.0.1.jar, I received the LinkageError. Any ideas? Thanks, ~Seth |
|
|
Re: LinkageError org.xml.sax.ParserIt's mostly likely that you have 2 sets of SAX parsers. Unless you are on a very old JDK, the SAX classes should be provided by the VM.
BTW - Upgrade to 2.0.5 there are a few XSS issues with 2.0.1. Joe. On Tue, Jul 15, 2008 at 4:21 PM, rundmsef <rundmsef@...> wrote:
|
|
|
Re: LinkageError org.xml.sax.ParserJoe,
Thanks for the speedy reply. I am using java version 1.5.0_11. I don't think this is a DWR issue, per se. I was just wondering if anyone had seen/dealt with this issue before. I have a feeling that there are 2 sets of SAX parsers on my classpath, but determining where has really been a head scratcher! My next step is to investegate how spring's DWR integration may plays a role in this error. Certainly the parsing of the Spring Application Contexts involves XML parsers! I'll post back if I find anything useful. Thanks, ~Seth
|
| Free Forum Powered by Nabble | Forum Help |