如何解决dubbo配置文件中Multiple annotations found at this line问题
xml配置的错误提示:
Multiple annotations found at this line:
- cvc-complex-type.2.4.c: The matching wildcard is strict, but no declaration ca
n be found for element 'dubbo:application'.
- schema_reference.4: Failed to read schema document 'http://code.alibabatec
h.com/schema/dubbo/dubbo.xsd',
because 1) could not find the document; 2) the document could not be rea
d; 3) the root element of the document is not
解决方案:
1、首先先下载一个dubbo.xsd文件
免费下载地址:http://download.csdn.net/detail/zp522123428/8036977
或者http://download.csdn.net/download/he000111/8244449
2、到eclipse中进行设置
windows->preferrence->xml->xmlcatalog->add->catalog entry ->file system 选择刚刚下载的文件
修改key值和配置文件的http://code.alibabatech.com/schema/dubbo/dubbo.xsd 相同,也就是
key = http://code.alibabatech.com/schema/dubbo/dubbo.xsd
3、对配置进行保存,在dubbo对应的xml文件右键,选择validate,就ok了。。
如何解决dubbo配置文件中Multiple annotations found at this line问题相关推荐
- maven的pom文件出现Multiple annotations found at this line...,已解决
把编好的maven项目放在另一台电脑,pom.xml出现错误 Multiple annotations found at this line: - Plugin execution not cover ...
- MyBatis映射器出错,已解决(Multiple annotations found at this line:)
创建UserMapper.xml文件时提示错误:Multiple annotations found at this line: - The content of element type " ...
- Multiple annotations found at this line: ---关于android string.xml %问题
本文来源于:hunter的博客(http://my.oschina.net/hunterXue/blog/15107) Multiple annotations found at this line: ...
- jsp页面提示“Multiple annotations found at this line:The superclass “javax.servlet.http.HttpServlet“
jsp页面提示"Multiple annotations found at this line: - The superclass "javax.servlet.http.Http ...
- 五.解决Spring配置文件中标签不提示
写在前面,当我们在有网的情况下,不管我们的是项目是maven项目还是普通的项目,在编写Spring的配置文件Application.xml的时候不会出现标签没有提示的问题. 本文主要解决的是当不能上网 ...
- 解决kettle配置文件中的中文乱码
在日常开发中有时候配置文件会出现中文(如config.properties 里有中文),为了避免出现乱码,因而要转成unicode编码. 1.在设置变量的javascript(转换中的JavaScri ...
- 【eclipse】Multiple annotations found at this line:——解决方法
问题截图: 就是eclipse的maven插件太旧了 用新插件新建的maven项目就没有报错 用软件对比了一下这两个pom文件 只有项目名有区别 所以就是插件的问题 一个简单安装离线maven插件的方 ...
- jsp页面提示“Multiple annotations found at this line: - The superclass javax.servlet.http.HttpServlet w
- dubbo配置文件xml校验报错
配置dubbo服务xml后,程序能正常执行,但validate会出现一些异常: Multiple annotations found at this line: - cvc-complex-type. ...
- ibatis mysql 同时删多个表报错_MySQL中Multiple primary key defined报错的解决办法
MySQL中Multiple primary key defined报错的解决办法 创建主键可以有两种方式: create table 表名( 字段名 类型, 字段名 类型, -- primary k ...
最新文章
- Linux下按扇区读写块设备,Linux下按扇区读写块设备
- 理解 Python 面向对象
- 第三次学JAVA再学不好就吃翔(part52)--String类的其他功能
- SQL注入——基于报错的注入(五)
- web前端开发---弃Hbuilder编辑器到Atom插件推荐,快捷键,快速编辑html 使用
- 国内域名商.wang总量统计TOP10:新网居亚 地位不稳
- [常用知识]如何在Eclipse、myEclipse中分别配置Tomcat和JBoss应用服务器
- 2014年3月计算机四级网络工程师考试试题及答案,某年3月计算机等级考试四级网络工程师笔试试题...
- 防火墙之iptables
- 深入浅出通信原理知识点5
- svn 1.12.0 版本以及汉化包(百度网盘分享--永久有效)
- 打算考PMP,需要准备什么材料?
- 基于USB数据采集卡(DAQ)与IO模块的热电偶温度采集
- 虚拟机中安装配置Windows server 2003和iis6
- postman传String类型参数时不能加双引号
- ubuntu环境下安装hyperledger fabric
- One PUNCH Man——聚类
- java面向对象抽象类和接口
- 如何修改PDF,怎么把一个PDF拆分成多个
- 从零开始搭建自己的网站二十一:网站IP/PV统计功能设计