cxf整合spring错误为:cvc-complex-type.2.4.c
2024-10-16 08:44:44
cxf整合spring,报错信息如下:
Multiple annotations found at this line:
- cvc-complex-type.2.4.c: The matching wildcard is strict, but no declaration can be found for
element 'jaxws:endpoint'.
- schema_reference.4: Failed to read schema document 'http://cxf.apache.org/schema/
jaxws.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root
element of the document is not <xsd:schema>.
是由于eclipse不识别javas.xsd造成的,解决方案如下:
如果还显示错误,那么将jaxws:endpoint标签内容删除后,然后保存后,再将内容贴到beans.xml中即可。
最新文章
- Web jquery表格组件 JQGrid 的使用 - 4.JQGrid参数、ColModel API、事件及方法
- 前端 时间个性化 插件 jquery.timeago.js
- JNI开发中String转换chat*工具
- 几个国内速度最快的centos yum(更新源)
- KVM虚拟机virsh常用参数
- (3) 深入理解Java Class文件格式(二)
- iOS开发之保存照片到系统相册(Photo Album)
- Docker 基础命令 简要入门
- Careercup - Google面试题 - 4857362737266688
- 自制单片机之十一……模数转换IC ADC0809
- SVM入门(十)将SVM用于多类分类
- (python基础)时间辍time、时间元组localtime、时间格式化strftime
- SQL Server 检测到基于一致性的逻辑 I/O 错误 pageid 不正确
- logic pro x 下载
- Python linux多版本共存以及虚拟环境管理(转摘)
- spring boot 之 Mybatis 配置
- Vue 的路由实现 Hash模式 和 History模式
- 使用jmeter 上传文件
- 《网络攻防》实验八:Web基础
- 再学Java 之 foreach循环
热门文章
- Udp实现消息的发送和接收、以及图片的上传
- nodejs服务器部署教程二
- MySql单表最大8000W+ 之数据库遇瓶颈记
- JavaScript 值类型和引用类型的初次研究
- C++学习(五)入门篇——基本类型
- 【Spring】关于SpringMvc监听的知识点
- Spring源码情操陶冶-AbstractApplicationContext#initApplicationEventMulticaster
- 【B2B】2015 年B2B的春天
- Filter ,Interceptor,AOP
- Android学习笔记-EditText(输入框)(一)