cxf 发布webservice报 You have more than one version of 'org.apache.commons.logging.Log' visible
来源:互联网 发布:网络摄像头端口 编辑:程序博客网 时间:2024/05/16 03:58
项目中采用cxf发布webservice,在同一osgi环境下写测试类发现能够正常运行,但经过发布成webservice后,用工程调用报如下异常:
org.apache.commons.logging.LogConfigurationException: org.apache.commons.logging.LogConfigurationException:
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.
根据报出的异常可以看出是日志包的冲突,最后查出是在客户端调用的项目中也引入了apache的commons-logging包或者是与commons-logging相关的日志包:slf4j,log4j等
- cxf 发布webservice报 You have more than one version of 'org.apache.commons.logging.Log' visible
- 解决“You have more than one commit that you are about to submit.”
- Caused by: java.lang.ClassNotFoundException: org.apache.commons.logging.Log
- Mysql报错:Result consisted of more than one row
- WebService放发布服务之后访问报错org.apache.cxf.interceptor.Fault: No such operation:
- org.apache.commons.logging 介绍
- org.apache.commons.logging SimpleLog
- org.apache.commons.logging.LogFactory
- org.apache.commons.logging.LogConfigurationException: No suitable Log constructor,NoClassDefFoundError: org/apache/log4j/Categor
- Android Studio针对.9图片报Can't have more than one mark
- Result consisted of more than one row
- Result consisted of more than one row
- org.apache.commons.logging.LogConfigurationException: The LogFactory attribute maven.log must be set
- Exception in thread "main " java.lang.NoClassDefFoundError: org/apache/commons/logging/Log
- Class org.apache.commons.logging.impl.Jdk14Logger does not implement Log 解决方法
- Error: (E115) sc_signal<T> cannot have more than one driver:
- (转)org.apache.commons.logging用法
- org.apache.commons.logging的用法(上)
- 由Flex 3進入Flex 4的必備知識 PART 3 – Flash Builder的佈景主題設置
- .Net在线编辑器:KindEditor及CkEditor配置说明
- 后台页面访问权限:页面基类&内置票据认证 使用方法
- 如何加入一个开源项目?
- 由Flex 3進入Flex 4的必備知識 PART 4 – Flash Builder的程式撰寫工具
- cxf 发布webservice报 You have more than one version of 'org.apache.commons.logging.Log' visible
- 委托和事件
- 关于客户端与数据库服务器端的时间同步问题
- 学习 JSON ( JavaScript Object Notation )
- 远程登录mysql服务器配置
- 由Flex 3進入Flex 4的必備知識 PART 5 – Flex 4的雙向Data Binding
- 用GDB调试--目录
- 用Visual C#创建Windows服务程序
- C# 可变数量参数的使用