Thursday, June 19, 2008 01:28 PM
You might be having the log4j jar in your class path.
Commons LogFactory will check for the Logger implementations.
Since it found Log4JLogger it will return the type of Log4j which you are casting to Jdk logger
1) Remove the log4j jar from your class path
2)User common-logging.propertis file in the root class directory/class path with content