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]



Reply via email to