码迷,mamicode.com
首页 > 其他好文 > 详细

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

时间:2017-12-25 15:04:12      阅读:94      评论:0      收藏:0      [点我收藏+]

标签:就是   标签   www.   解析   ring   frame   pre   oca   instance   

这个问题困扰了我两次,分别说一下原因:
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.springframework.org/schema/context"
 4     xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:aop="http://www.springframework.org/schema/aop"
 5     xmlns:tx="http://www.springframework.org/schema/tx"
 6     xsi:schemaLocation="
 7     http://www.springframework.org/schema/beans
 8     http://www.springframework.org/schema/beans/spring-beans-3.0.xsd
 9     http://www.springframework.org/schema/context
10         http://www.springframework.org/schema/context/spring-context-2.5.xsd
11         http://www.springframework.org/schema/tx
12         http://www.springframework.org/schema/tx/spring-tx-3.0.xsd
13         http://www.springframework.org/schema/aop
14         http://www.springframework.org/schema/aop/spring-aop-3.0.xsd">

2. 第二次也报这个错误,追究了一下原因,是Lib缺少某些包,在对标签解析的时候报错。这个在网上说的比较少,记录一下。供大家参考吧!

3.解决错误就是把版本号修改下,对应你使用的语法版本就不报错了

参考地址:http://blog.sina.com.cn/s/blog_5742944d0100iopa.html

 

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

标签:就是   标签   www.   解析   ring   frame   pre   oca   instance   

原文地址:http://www.cnblogs.com/louby/p/8108959.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!