Thanks Ceki,

I did read the JUnit faq beforehand (honest!) and I tried to use the 
excluded.properties workaround (which I assume is what you are referring to), but this 
did not appear to make any difference. I just copied the properties file from the 
JUnit jar and put it in my classpath.

>>> [EMAIL PROTECTED] 10/08/2004 11:19:05 >>>
Keith,

This is a well known problem with a well known solution. Look in the 
archives. In particular, read the junit FAQ.

At 10:52 AM 8/10/2004, Keith Rogers wrote:
>I've got an application full of logging messages, and I've just started
>writing JUnit tests for it. Unfortunately, when I try to use the JUnit
>gui, I get the following warnings:
>
>log4j:ERROR A "org.apache.log4j.xml.DOMConfigurator" object is not
>assignable to a "org.apache.log4j.spi.Configurator" variable.
>log4j:ERROR The class "org.apache.log4j.spi.Configurator" was loaded by
>
>log4j:ERROR [EMAIL PROTECTED] whereas object
>of type
>log4j:ERROR "org.apache.log4j.xml.DOMConfigurator" was loaded by
>[EMAIL PROTECTED]
>log4j:ERROR Could not instantiate configurator
>[org.apache.log4j.xml.DOMConfigurator].
>log4j:WARN No appenders could be found for logger
>(com.mp.aat.exor.ExorDatasource).
>log4j:WARN Please initialize the log4j system properly.
>
>Can anyone explain whats going wrong and how I can fix it?
>
>Thanks,
>
>Keith
>

-- 
Ceki G�lc�

      For log4j documentation consider "The complete log4j manual"
      ISBN: 2970036908 http://www.qos.ch/shop/products/clm_t.jsp  



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED] 
For additional commands, e-mail: [EMAIL PROTECTED] 




The information in this e-mail is confidential and intended to be solely for the use 
of the addressee(s) and may contain copyright and/or legally privileged information.  
If you are not the addressee (or responsible for delivery of the message to the 
addressee) please e-mail us at [EMAIL PROTECTED] and delete the message from your 
computer; copying, distribution, use or disclosure of its contents is strictly 
prohibited.
As Internet communications are capable of data corruption no responsibility is 
accepted for changes made to this message after it was sent. For this reason it may be 
inappropriate to rely on advice contained in any e-mail without obtaining written 
confirmation of it.
In addition, no liability or responsibility is accepted for viruses and it is your 
responsibility to scan attachments (if any).
Please note that for business purposes, outgoing and incoming emails from and to the 
company may be monitored and recorded.

Mouchel Parkman Services Ltd, Registered in England at West Hall, Parvis Road, West 
Byfleet, Surrey UK KT14 6EZ Registered No : 1686040


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to