简体   繁体   English

Jboss7.2 和 Java8

[英]Jboss7.2 and Java8

I am going to deployee war file in Jboss 7.2 which is upgraded from java7 to java8.But I am getting bellow error at the time of deploying.我将在 Jboss 7.2 中部署从 java7 升级到 java8 的 war 文件。但是我在部署时遇到了以下错误。 Please help me to resolve it请帮我解决

ERROR [org.jboss.as.controller.management-operation] (Controller Boot Thread) WFLYCTL0013: Operation ("deploy") failed - address: ([("deployment" => "webservice-host.war")]) - failure description: {"WFLYCTL0080: Failed services" => {"jboss.deployment.unit.\"webservice-host.war\".undertow-deployment" => "org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named 'cxf' available

Try adding these configuration to your Spring Context XML file尝试将这些配置添加到您的 Spring Context XML 文件中

<import resource="classpath:META-INF/cxf/cxf.xml"/>
<import resource="classpath:META-INF/cxf/cxf-extension-xml.xml"/>
<import resource="classpath:META-INF/cxf/cxf-servlet.xml"/>

If it did not resolve your issue please paste the complete stack trace here如果它没有解决您的问题,请在此处粘贴完整的堆栈跟踪

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM