Why the org.apache.commons.logging.LogConfigurationException occurs when using a graphics UI TestRunner
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Fengbo_Tse
Posted On:   Monday, July 28, 2003 07:53 PM

Why the org.apache.commons.logging.LogConfigurationException occurs when using a graphics UI TestRunner? I used apache commons-logging APIs for output message in my test class. It works well when I use a text ui TestRunner. But when I switched to a graphics ui TestRunner (either awt or swing), the org.apache.commons.logging.LogConfigurationException occured. Error message like: org.apache.commons.logging.LogConfigurationException: org.apache.commons.logging.LogConfigurationException: org.apache.commons.logging.LogConfigurationException: Class org.apache.commons.logging.impl.Jdk14Logger does not implement Log or org.apache.commons.logging.LogConfigurationException: org.apache.commons.logging.LogConfigurationException:   More>>

Why the org.apache.commons.logging.LogConfigurationException occurs when using a graphics UI TestRunner?

I used apache commons-logging APIs for output message in my test class. It works well when I use a text ui TestRunner. But when I switched to a graphics ui TestRunner (either awt or swing), the org.apache.commons.logging.LogConfigurationException occured.


Error message like:

org.apache.commons.logging.LogConfigurationException: org.apache.commons.logging.LogConfigurationException: org.apache.commons.logging.LogConfigurationException: Class org.apache.commons.logging.impl.Jdk14Logger does not implement Log

or

org.apache.commons.logging.LogConfigurationException: org.apache.commons.logging.LogConfigurationException: org.apache.commons.logging.LogConfigurationException: Class org.apache.commons.logging.impl.Log4JLogger does not implement Log
   <<Less

Re: Why the org.apache.commons.logging.LogConfigurationException occurs when using a graphics UI TestRunner

Posted By:   Anonymous  
Posted On:   Wednesday, July 30, 2003 11:00 AM

You probably need to prevent the JUnit custom class loaders to handle the commons logging classes - see http://junit.sourceforge.net/doc/faq/faq.htm#running_8
About | Sitemap | Contact