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问题相关推荐

  1. maven的pom文件出现Multiple annotations found at this line...,已解决

    把编好的maven项目放在另一台电脑,pom.xml出现错误 Multiple annotations found at this line: - Plugin execution not cover ...

  2. MyBatis映射器出错,已解决(Multiple annotations found at this line:)

    创建UserMapper.xml文件时提示错误:Multiple annotations found at this line: - The content of element type " ...

  3. Multiple annotations found at this line: ---关于android string.xml %问题

    本文来源于:hunter的博客(http://my.oschina.net/hunterXue/blog/15107) Multiple annotations found at this line: ...

  4. 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 ...

  5. 五.解决Spring配置文件中标签不提示

    写在前面,当我们在有网的情况下,不管我们的是项目是maven项目还是普通的项目,在编写Spring的配置文件Application.xml的时候不会出现标签没有提示的问题. 本文主要解决的是当不能上网 ...

  6. 解决kettle配置文件中的中文乱码

    在日常开发中有时候配置文件会出现中文(如config.properties 里有中文),为了避免出现乱码,因而要转成unicode编码. 1.在设置变量的javascript(转换中的JavaScri ...

  7. 【eclipse】Multiple annotations found at this line:——解决方法

    问题截图: 就是eclipse的maven插件太旧了 用新插件新建的maven项目就没有报错 用软件对比了一下这两个pom文件 只有项目名有区别 所以就是插件的问题 一个简单安装离线maven插件的方 ...

  8. jsp页面提示“Multiple annotations found at this line: - The superclass javax.servlet.http.HttpServlet w

  9. dubbo配置文件xml校验报错

    配置dubbo服务xml后,程序能正常执行,但validate会出现一些异常: Multiple annotations found at this line: - cvc-complex-type. ...

  10. ibatis mysql 同时删多个表报错_MySQL中Multiple primary key defined报错的解决办法

    MySQL中Multiple primary key defined报错的解决办法 创建主键可以有两种方式: create table 表名( 字段名 类型, 字段名 类型, -- primary k ...

最新文章

  1. Linux下按扇区读写块设备,Linux下按扇区读写块设备
  2. 理解 Python 面向对象
  3. 第三次学JAVA再学不好就吃翔(part52)--String类的其他功能
  4. SQL注入——基于报错的注入(五)
  5. web前端开发---弃Hbuilder编辑器到Atom插件推荐,快捷键,快速编辑html 使用
  6. 国内域名商.wang总量统计TOP10:新网居亚 地位不稳
  7. [常用知识]如何在Eclipse、myEclipse中分别配置Tomcat和JBoss应用服务器
  8. 2014年3月计算机四级网络工程师考试试题及答案,某年3月计算机等级考试四级网络工程师笔试试题...
  9. 防火墙之iptables
  10. 深入浅出通信原理知识点5
  11. svn 1.12.0 版本以及汉化包(百度网盘分享--永久有效)
  12. 打算考PMP,需要准备什么材料?
  13. 基于USB数据采集卡(DAQ)与IO模块的热电偶温度采集
  14. 虚拟机中安装配置Windows server 2003和iis6
  15. postman传String类型参数时不能加双引号
  16. ubuntu环境下安装hyperledger fabric
  17. One PUNCH Man——聚类
  18. java面向对象抽象类和接口
  19. 如何修改PDF,怎么把一个PDF拆分成多个
  20. 从零开始搭建自己的网站二十一:网站IP/PV统计功能设计

热门文章

  1. 细说.NET中的多线程 (六 使用MemoryBarrier,Volatile进行同步)
  2. Rtools下载与安装(win10)
  3. o2o电商模式的创业机会有哪些?
  4. ldc1614 c语言编程,LDC1614读回来的数据为固定值不变
  5. python3GUI--下载抖音小姐姐所有无水印视频(附源码)
  6. 苹果iPhone手机用iTunes更新IOS14.3系统失败怎么解决
  7. 如何安装ioncube扩展
  8. 常见的文件后缀名大全
  9. 【光学设计】- 第一节
  10. 教你查看网页的记住密码和免费下载付费音乐