You have more than one version of ‘org.apache.commons.logging.Log’ visible, which is not allowed问题解决
2017-09-05 16:40
316 查看
https://zeroturnaround.com/forums/topic/jrebel-reports-more-than-one-version-of-org-apache-commons-logging-log-visibl/
非常奇怪的一个问题,我在Tomcat上部署了两个war包,包都用了common-logging 1.0.4.jar,单独一个项目时,正常启动,但当同时启动两个项目时,就报上面的错误,后来直接将其中一个项目的common-logging 1.0.4.jar换成1.1.1的版本就可以了,一个的还是1,0.4的版本,就可以正常启动了,好奇怪啊!
非常奇怪的一个问题,我在Tomcat上部署了两个war包,包都用了common-logging 1.0.4.jar,单独一个项目时,正常启动,但当同时启动两个项目时,就报上面的错误,后来直接将其中一个项目的common-logging 1.0.4.jar换成1.1.1的版本就可以了,一个的还是1,0.4的版本,就可以正常启动了,好奇怪啊!
相关文章推荐
- 访问Storm ui界面,出现org.apache.storm.utils.NimbusLeaderNotFoundException: Could not find leader nimbus from seed hosts ["master" "slave1"]. Did you specify a valid list of nimbus hosts for confi的问题解决(图文详解)
- 访问Storm ui界面,出现org.apache.storm.utils.NimbusLeaderNotFoundException: Could not find leader nimbus from seed hosts ["master"]. Did you specify a valid list of nimbus hosts for confi的问题解决(图文详解)
- 【笔记】解决方法Caused by: java.lang.ClassNotFoundException:org.apache.commons.logging.LogFactory
- Caused by: java.lang.ClassNotFoundException: org.apache.commons.logging.LogFactory
- 解决web项目运行出现java.lang.NoClassDefFoundError: org/apache/commons/logging/LogFactory
- java.lang.ClassNotFoundException: org.apache.juli.logging.LogFactory的解决办法
- 解决Maven->update project 恢复为默认jdk1.5以及One or more constraints have not been satisfied问题
- This version of the rendering library is more recent than your version of ADT plug-in. Please update ADT plug-in问题
- 解决eclipse+MAVEN提示One or more constraints have not been satisfied.的问题
- Caused by: java.lang.ClassNotFoundException: org.apache.commons.logging.LogFactory
- java.lang.ClassNotFoundException: org.apache.commons.logging.LogFactory
- 解决“You have more than one commit that you are about to submit.”
- java.lang.ClassNotFoundException: org.apache.juli.logging.LogFactory的解决办法
- org.apache.jasper.JasperException: #{..} is not allowed in template text 解决
- java.lang.ClassNotFoundException: org.apache.commons.logging.Log
- org.apache.commons.logging.LogFactory等问题
- Caused by: java.lang.ClassNotFoundException: org.apache.commons.logging.LogFactory
- 解决eclipse+MAVEN提示One or more constraints have not been satisfied.的问题
- Caused by: java.lang.ClassNotFoundException:org.apache.commons.logging.LogFactory
- java.lang.ClassNotFoundException: org.apache.juli.logging.LogFactory的解决办法