"org.jboss.netty.internal.LoggerConfigurator".DESCRIBED is already registered 的解决办法
2014-08-30 12:09
881 查看
今天在jboss 6.2 EAP上部署一个项目时,报以下错误:
org.jboss.msc.service.DuplicateServiceException: Service jboss.pojo."org.jboss.netty.internal.LoggerConfigurator".DESCRIBED is already registered
这类错误一般是项目依赖的jar包与jboss自带的module冲突引起的,根据"org.jboss.netty.internal.LoggerConfigurator"中的netty关键字,检查了下pom中依赖的jar包,发现有一项:
View Code
然后到jboss所在的目录 jboss-eap-6.2\modules\system\layers\base\org\jboss\netty\main 下,果然也找到了netty-3.6.6.Final-redhat-1.jar,也就是说jboss已经自带了netty。
最后把pom.xml中的netty依赖项去掉,再部署,OK!
org.jboss.msc.service.DuplicateServiceException: Service jboss.pojo."org.jboss.netty.internal.LoggerConfigurator".DESCRIBED is already registered
这类错误一般是项目依赖的jar包与jboss自带的module冲突引起的,根据"org.jboss.netty.internal.LoggerConfigurator"中的netty关键字,检查了下pom中依赖的jar包,发现有一项:
<dependency> <groupId>io.netty</groupId> <artifactId>netty</artifactId> <version>3.5.5.Final</version> </dependency>
View Code
然后到jboss所在的目录 jboss-eap-6.2\modules\system\layers\base\org\jboss\netty\main 下,果然也找到了netty-3.6.6.Final-redhat-1.jar,也就是说jboss已经自带了netty。
最后把pom.xml中的netty依赖项去掉,再部署,OK!
相关文章推荐
- Entity Framework "There is already an open DataReader associated with this 的解决办法
- "java.lang.ClassNotFoundException: org.apache.commons.lang.StringUtils"的解决办法
- "app_name" is not translated in "zh" (Chinese) [MissingTranslation]解决办法
- Fiddler代理抓取的接口的服务器返回出现"Response body is encoded. Click to decode. "的解决办法
- "svn: E200033: database is locked"解决办法
- dojo解决这个问题Tried to register widget with id=="myid" but that id is already registered
- Manjaro关于signature from "Philip Müller (Called Little) <philm@manjaro.org>" is unknown trust的解决办法
- FCKeditor出现"XML request error: Internal Server Error(500)"错误的解决办法
- FCKeditor出现"this connector is disabled Please check the"editor/filemanager/connectors/aspx/config.aspx"错误的解决办法
- "Resource leak: 'scanner' is never closed"警告,在Scanner语句出现解决办法
- ERROR:Tried to register widget id ==basemapGalleryDiv but that id is already registered解决办法
- "performSelector may cause a leak because its selector is unknown"警告原因及其解决办法
- "add/removeoperation is impossible, because the code element 'Cxxx' is read only" 的解决办法
- VS2010编译时拿老版本的代码运行,出现"source code is different..."解决办法
- JBoss6部署报 java.lang.IllegalStateException service=EJB3 is already installed 解决办法
- "xxx is already under version of control"的解决办法
- "ANDROID_HOME is not set and "android" command not in your PATH. "错误的解决办法
- "activity_main cannot be resolved or is not a field"的解决办法
- yum install在红帽中提示"this system is not registered with RHN"解决办法
- "svn: E200033: database is locked"解决办法。(转)