java - Jboss7.2和Java8
问题描述
我将在 Jboss 7.2 中部署从 java7 升级到 java8 的 war 文件。但是在部署时出现以下错误。请帮我解决它
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
解决方案
尝试将这些配置添加到您的 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"/>
如果它没有解决您的问题,请在此处粘贴完整的堆栈跟踪
推荐阅读
- ruby-on-rails - 在 Active Record 查询中包含 Active Storage 附件
- dependency-injection - 将类注册到特定实例
- python - 计算时间范围的最后一个值
- jquery - 从动态 json 数据渲染嵌套的 Bootsrap 手风琴
- python - 包含 c 字符串的 cython 类;缓冲区溢出?
- java - 我无法在我的设备上运行应用程序错误类型 3
- sql - Apache NiFi QueryRecord SELECT 静态别名列
- c# - 图像打印,文件正在被另一个进程使用
- vba - Selenium ChromeDriver 使用已经打开的浏览器
- c - 使用 C 中的列表从递归组合打印