cvc-complex-type.2.4.c: The matching wildcard is strict, but no declaration...

错误信息 写道

cvc-complex-type.2.4.c: The matching wildcard is strict, but no declaration can be found for element ‘dubbo:application‘.

问题根源在于Eclipse无法识别上面的两个标签,解决方法如下:

1、下载相应的**.xsd 文件

2、选择elcipse的window-->preferences,弹出相应对话框;
3、在对话框的的type filter text位置数据 xml c,您将看到XML Catalog,点击进入;
4、选择User Specified Entries,单击添加,然后, 在弹出的对话框相应位置填入

  Location: D:\java\source\dubbo\dubbo-2.8.4\META-INF\dubbo.xsd
  Key Type: Schema Location
  Key:http://code.alibabatech.com/schema/dubbo

5、重复4的动作

与步骤4相比主要是key 不一样

6、完成

应用

时间: 2024-10-20 01:23:41

cvc-complex-type.2.4.c: The matching wildcard is strict, but no declaration...的相关文章

cvc-complex-type.2.4.c: The matching wildcard is strict, but no declaration can be found for element 'mongo:mongo-client'.

cvc-complex-type.2.4.c: The matching wildcard is strict, but no declaration can be found for element 'mongo:mongo-client'. mongodb整合springMVC配置的时候,可能会遇到这样的问题, 这里我目前想到的办法是,把版本号去掉,当然这个的前提是,把该导入的命名空间导入! cvc-complex-type.2.4.c: The matching wildcard is s

xml bug之cvc-complex-type.2.4.c: The matching wildcard is strict, but no declaration...

1.今天重装了一下MyEclipse7.5,打开原来的Flex项目,又报了以下两个错误,之前解决过,但不想又出现,于是把它的解决方法贴出来,做个备忘! 错误信息为 错误信息 写道 cvc-complex-type.2.4.c: The matching wildcard is strict, but no declaration can be found for element 'flex:message-broker'. cvc-complex-type.2.4.c: The matching

spring “The matching wildcard is strict, but no declaration can be found for element”报错原因

xsi:schemaLocation=http://www.springframework.org/schema/aop/spring-aop.xsd http://www.springframework.org/schema/aop Spring 配置文件中的顺序颠倒会报如下的错误 The matching wildcard is strict, but no declaration can be found for element 'aop:config'. 只要调整顺序就可以了: xsi:

《Spring实战》-- 'cvc-complex-type.2.4.c: The matching wildcard is strict, but no declaration can be found for element' 错误的解决

在Eclipse中新建了一个maven项目学习Spring,在 service.xml 中配置 Spring,想要学习'面向切面的Spring',service.xml 内容如下: <beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:context="http://w

关于dubbo创建服务和引用服务时,会报错:cvc-complex-type.2.4.c: The matching wildcard is strict, but no declaration can be found for element 问题的解决

在跟着做淘淘商城项目时,用到了dubbo,作为一个SOA架构的项目,分为表现层与服务层,自然地,为了各个层之间解耦合(或者最大限度地松耦合),我们使用了dubbo这样一个alibaba开源的分布式服务框架,该框架最大的特点就是利用分层的方式来架构,从服务模型的角度来看,Dubbo采用的是一种非常简单的模型,要么是提供方提供服务,要么是消费方消费服务,所以基于这一点可以抽象出服务提供方(Provider)和服务消费方(Consumer)两个角色. 但是在appplicationContext-se

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 ‘dubbo:application’.

公司的项目,本机启动报错: 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 'dubbo:application'. – schema_reference.4: Failed to read schema document 'http://code.aliba

Type cvc-complex-type.2.4.c: The matching wildcard is strict...

这个问题困扰了我两次,分别说一下原因:1. 如网上一些网友所言,是在配置Spring的标签库的时候有拼写错误或者遗漏.下面贴一个标准3.0的吧: 1 <?xml version="1.0" encoding="UTF-8"?> 2 <beans xmlns="http://www.springframework.org/schema/beans" 3 xmlns:context="http://www.springfr

【Spring】The matching wildcard is strict……

applicationContext.xml 文件抛出了这个异常信息. 解决方法: 需要在 namespace 后加上对应的 schemaLocation,如下所示: <?xml version="1.0" encoding="UTF-8"?> <beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/

Net的wsdl生成webservice 异常:undefined simple or complex type &#39;soapenc:Array&#39;

错误代码如下: E:\>wsimport -keep service.xml parsing WSDL... [WARNING] src-resolve: Cannot resolve the name 'soapenc:Array' to a(n) 'type definition' component. line 505 of file:/E:/service1.xml#types?schema2 [ERROR] undefined simple or complex type 'soape