I managed to patch the junit.jar in idea to "fix" the XML classloading issue. Seemed to work okay for me.
Regards, Glen ----- Original Message ----- From: "Donald F. McLean" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, March 13, 2002 8:33 AM Subject: Re: FW: [Eap-list] JUnit problem > Unfortunately, the one thing we need (an easy way to edit the excludes > for the custom class loader) is not available, so you'll have to > use the text version until the IntelliJ folks decide to fix this > problem. > > (not that I'm complaining mind you - IDEA is STILL the best, but > it isn't perfect) > > [EMAIL PROTECTED] wrote: > > > JUnit uses a custom class loader in UI mode so that you don't have to > > restart it every time you update your class files. This causes problems > > with XML parsing and RMI. See > > http://junit.sourceforge.net/doc/faq/faq.htm#ClassLoader for details. > > > > -----Original Message----- > > From: Givant, Alexander [mailto:[EMAIL PROTECTED]] > > > > When I try to execute JUnit test in text mode, everything is OK, but if > > I switch to UI mode, I'm getting following message: > > > > java.lang.LinkageError: class org/w3c/dom/Document violates loader > > constraints > > > > and it happens when I try to call function getElementsByTagName() in > > Document class. > > > > By the way I have the same strange message when I try to execute JUnit > > from Ant build file. > > > > _______________________________________________ > Eap-list mailing list > [EMAIL PROTECTED] > http://www.intellij.com/mailman/listinfo/eap-list _______________________________________________ Eap-list mailing list [EMAIL PROTECTED] http://www.intellij.com/mailman/listinfo/eap-list
