In the meantime you can put a file in your %HOME% (or $HOME) directory named
junit.properties with the single line 

loading=false

This will turn off the custom class loader.

-----Original Message-----
From: Donald F. McLean [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, March 12, 2002 3:33 PM
To: [EMAIL PROTECTED]
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

Reply via email to