Jboss7.2和Java8

问题描述 投票:0回答:1

我将在Jboss 7.2中部署从Java7升级到java8的部署文件,但是在部署时出现了以下错误。请帮助我解决它

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
java spring spring-boot jboss cxf
1个回答
0
投票

尝试将这些配置添加到您的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"/>

如果无法解决您的问题,请在此处粘贴完整的堆栈跟踪信息

© www.soinside.com 2019 - 2024. All rights reserved.