Skip to Content
0
Former Member
Feb 23, 2010 at 09:26 AM

Error: You have more than one version of 'org.apache.commons.logging.Log

215 Views

Hi,

I'm trying to use Apache Fop, but I get following exception:

org.apache.commons.logging.LogConfigurationException: Invalid class loader hierarchy. You have more than one version of 'org.apache.commons.logging.Log' visible, which is not allowed.

at org.apache.commons.logging.impl.LogFactoryImpl.getLogConstructor(LogFactoryImpl.java:385)

at org.apache.commons.logging.impl.LogFactoryImpl.newInstance(LogFactoryImpl.java:529)

at org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactoryImpl.java:235)

at org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactoryImpl.java:209)

at org.apache.commons.logging.LogFactory.getLog(LogFactory.java:351)

The strange thing about this error is: Everything worked fine already. We have another Track with different DC's on the server, where we have a sandbox for testing some code. In this sandbox I also created the librarys and DC's for Apache FOP. After this I got the Error above for the otther DC.

I have already deleted everything in the sandbox and the error still occurs.

Any ideas to solve this problem?

Best regards,

Peter