Hi,
I am trying to get Spring to work with ColdFusion. However, just about every Spring class I need to use seems to use logging. Any time anything log related happens when Spring is running in ColdFusion, I get an error similar to the following:
"Error creating bean with name 'myDataSource' defined in file [/Applications/jakarta-tomcat-5.0.25/webapps/ROOT/spring2/styles.xml]: Instantiation of bean failed; nested exception is org.apache.commons.logging.LogConfigurationExcepti on: org.apache.commons.logging.LogConfigurationExcepti on: org.apache.commons.logging.LogConfigurationExcepti on: Class org.apache.commons.logging.impl.Jdk14Logger does not implement Log"
Having dug around a bit, I have determined that ColdFusion uses an older version of log4j than the current Spring distro, and as a result, this problem occurs whenever ColdFusion tries to load a Java object that was compiled using the newer version of log4j (like the ones in Spring).
Does anybody have any ideas how I can get around this problem?
Thanks,
- max


Reply With Quote