使用cxf创建webservice发生“Failed to import bean definitions from URL location [classpath:META-INF/cxf/cxf”
来源:互联网 发布:js防水涂料基层处理 编辑:程序博客网 时间:2024/05/16 05:50
转载请注明出处:http://blog.csdn.net/dongdong9223/article/details/53156495
本文出自【我是干勾鱼的博客】
使用cxf创建webservice,我用的是目前的最新的版本3.1.8。
启动tomcat的时候发生了一个错误:
org.springframework.beans.factory.parsing.BeanDefinitionParsingException: Configuration problem: Failed to import bean definitions from URL location [classpath:META-INF/cxf/cxf-extension-soap.xml]
上网查了一下,有的人说在cxf的3.0版本之后可能已经不需要这个配置文件了,需要在spring的xml配置文件里删除这个引用,也就是将:
<import resource="classpath:META-INF/cxf/cxf-extension-soap.xml" />
去掉。
试了一下,果然就不报错了。
0 0
- 使用cxf创建webservice发生“Failed to import bean definitions from URL location [classpath:META-INF/cxf/cxf”
- CXF之<import resource="classpath:META-INF/cxf/cxf.xml" />找不到文件的问题
- Configuration problem: Failed to import bean definitions from relative location
- 使用cxf创建webservice
- Error creating bean with name 'cxf' defined in class path resource [META-INF/cxf/cxf.xml]
- 使用CXF创建REST WEBSERVICE
- 使用CXF创建REST WEBSERVICE
- spring报错“Failed to import bean definitions from relative location
- Conf iguration problem: Failed to import bean definitions from relative location [red is-context.xml
- Import of META-INF/cxf/cxf-extension-soap.xml has been deprecated and is unnecessary
- cxf 创建webservice
- CXf 创建webservice
- cxf创建WebService
- CXF创建WebService
- CXF学习创建WebService
- cxf创建webService
- CXF创建WebService实例
- CXF创建WebService服务
- Gradle 介绍一
- 获取指定文件的扩展名称
- JavaScript中通过提示框跳转页面的方法
- jQuery基本筛选器
- 去除mysql表中的重复数据
- 使用cxf创建webservice发生“Failed to import bean definitions from URL location [classpath:META-INF/cxf/cxf”
- ListView的item的点击样式
- Android简介
- LeetCode-----61. Rotate List(循环旋转链表)
- Highcharts绘图在项目中的运用
- JAVA实例-登录页面验证码与点击切换
- JavaScript中通过提示框跳转页面的方法
- 挂起某个进程中所有线程的方法
- CocosCreator精灵高亮&变灰