I'm trying to run the Struts JUnit tests under IDEA. They run fine under
Ant alone, but fail under the IDEA Ant plugin. When I try to run
individual tests, I often see the infamous
Caused by: org.apache.commons.logging.LogConfigurationException: Class
org.apache.commons.logging.impl.Jdk14Logger does not implement Log
at
org.apache.commons.logging.impl.LogFactoryImpl.getLogConstructor(LogFactoryImpl.java:430)
This also occurs when I try to run any test that uses BeanUtils. (Life
is good until I test code that calls BeanUtils, then "oops".) I
traced it down, and the constructor class is failing in the JVM.
I see Log4J in the IDEA lib folder. Could this be conflicting with the
default LogFactory? Do I need to configure Log4J (somehow) to appease
the Commons Logging API before running the Struts tests within IDEA?
-Ted.
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
- Re: Struts JUnit tests under IDEA Ted Husted
- Re: Struts JUnit tests under IDEA John Yu
- Re: Struts JUnit tests under IDEA Ted Husted