cancel
Showing results for 
Search instead for 
Did you mean: 

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

Former Member
0 Kudos

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

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Found the problem:

My DC used to other DC's. In each of these other DC's was a different jar file from apache logging.