cvc-complex-type.2.4.c: ...is strict, ...declaration found element"context:property-placeholder"
2017-10-13 21:43
363 查看
GitHub上的项目,导入两次。第一次把问题解决了,然后第二次有傻傻地给忘了,Mark一下
在pom.xml中加入ibatis依赖如下:
<dependency>
<groupId>org.apache.ibatis</groupId>
<artifactId>ibatis-core</artifactId>
<version>3.0</version>
</dependency>
当然,在Stack Overflow上看到了类似错误,其原因与解决方法如下:
You have this:
but you're not mentioning it here:
To fix that, you should have
there as well, like
Note: it is actually common that schema references don't mention Spring version to allow for easier upgrading, so you could use references like
well.
源网址请戳:https://stackoverflow.com/questions/19218122/cvc-complex-type-2-4-c-the-matching-wildcard-is-strict-but-no-declaration-can
在pom.xml中加入ibatis依赖如下:
<dependency>
<groupId>org.apache.ibatis</groupId>
<artifactId>ibatis-core</artifactId>
<version>3.0</version>
</dependency>
当然,在Stack Overflow上看到了类似错误,其原因与解决方法如下:
You have this:
xmlns:mvc="http://www.springframework.org/schema/mvc"
but you're not mentioning it here:
xsi:schemaLocation=" http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-3.0.xsd http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context-3.0.xsd">
To fix that, you should have
http://www.springframework.org/schema/mvc http://www.springframework.org/schema/mvc/spring-mvc-3.0.xsd
there as well, like
xsi:schemaLocation=" http://www.springframework.org/schema/mvc http://www.springframework.org/schema/mvc/spring-mvc-3.0.xsd http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-3.0.xsd http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context-3.0.xsd">
Note: it is actually common that schema references don't mention Spring version to allow for easier upgrading, so you could use references like
http://www.springframework.org/schema/context/spring-context.xsdas
well.
源网址请戳:https://stackoverflow.com/questions/19218122/cvc-complex-type-2-4-c-the-matching-wildcard-is-strict-but-no-declaration-can
相关文章推荐
- cvc-complex-type.2.4.c: The matching wildcard is strict, but no declaration can be found for element
- cvc-complex-type.2.4.c:The matching wildcard is strict,but no declaration can be found for element '
- cvc-complex-type.2.4.c: The matching wildcard is strict, but no declaration can be found for element
- cvc-complex-type.2.4.c: The matching wildcard is strict, but no declaration can be found for element
- cvc-complex-type.2.4.c: The matching wildcard is strict, but no declaration can be found for element
- cvc-complex-type.2.4.c: The matching wildcard is strict, but no declaration can be found for element
- cvc-complex-type.2.4.c: The matching wildcard is strict, but no declaration can be found for element
- cvc-complex-type.2.4.c: The matching wildcard is strict, but no declaration can be found for element
- cvc-complex-type.2.4.c: The matching wildcard is strict, but no declaration can be found for element
- cvc-complex-type.2.4.c: The matching wildcard is strict, but no declaration can be found for element
- xml报错“cvc-complex-type.2.4.c: The matching wildcard is strict, but no declaration can be found for element”
- cvc-complex-type.2.4.c: The matching wildcard is strict, but no declaration can be found for element
- 关于dubbo创建服务和引用服务时,会报错:cvc-complex-type.2.4.c: The matching wildcard is strict, but no declaration can be found for element 问题的解决
- cvc-complex-type.2.4.c: The matching wildcard is strict, but no declaration can be found for element
- cvc-complex-type.2.4.c: The matching wildcard is strict, but no declaration can be found for element
- cvc-complex-type.2.4.c: The matching wildcard is strict, but no declaration can be found for element
- cvc-complex-type.2.4.c: The matching wildcard is strict, but no declaration can be found for elemen
- vc-complex-type.2.4.c: The matching wildcard is strict, but no declaration can be found for element
- cvc-complex-type.2.4.c: The matching wildcard is strict, but no declaration can be found for elemen
- 解决dubbo的vc-complex-type.2.4.c: The matching wildcard is strict, but no declaration can be found for