cvc-complex-type.3.2.2: Attribute 'content-negotiation-manager' is not allow
2015-02-26 20:16
393 查看
出现cvc-complex-type.3.2.2: Attribute 'content-negotiation-manager' is not allow问题,查看spring mvc的配置版本是否正确
<beans xmlns="http://www.springframework.org/schema/beans"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:p="http://www.springframework.org/schema/p"
xmlns:tx="http://www.springframework.org/schema/tx" xmlns:aop="http://www.springframework.org/schema/aop"
xmlns:context="http://www.springframework.org/schema/context"
xmlns:mvc="http://www.springframework.org/schema/mvc"
xmlns:util="http://www.springframework.org/schema/util"
xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd http://www.springframework.org/schema/tx http://www.springframework.org/schema/tx/spring-tx.xsd
http://www.springframework.org/schema/aop http://www.springframework.org/schema/aop/spring-aop.xsd
http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context.xsd
http://www.springframework.org/schema/mvc http://www.springframework.org/schema/mvc/spring-mvc.xsd
http://www.springframework.org/schema/util http://www.springframework.org/schema/util/spring-util.xsd
">
<beans xmlns="http://www.springframework.org/schema/beans"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:p="http://www.springframework.org/schema/p"
xmlns:tx="http://www.springframework.org/schema/tx" xmlns:aop="http://www.springframework.org/schema/aop"
xmlns:context="http://www.springframework.org/schema/context"
xmlns:mvc="http://www.springframework.org/schema/mvc"
xmlns:util="http://www.springframework.org/schema/util"
xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd http://www.springframework.org/schema/tx http://www.springframework.org/schema/tx/spring-tx.xsd
http://www.springframework.org/schema/aop http://www.springframework.org/schema/aop/spring-aop.xsd
http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context.xsd
http://www.springframework.org/schema/mvc http://www.springframework.org/schema/mvc/spring-mvc.xsd
http://www.springframework.org/schema/util http://www.springframework.org/schema/util/spring-util.xsd
">
相关文章推荐
- cvc-complex-type.3.2.2: Attribute 'singleton' is not allowed to appear in element 'bean'
- cvc-complex-type.3.2.2: Attribute 'singleton' is not allowed to appear in element 'bean
- mm_cvc-complex-type.3.2.2: Attribute 'local' is not allowed to appear in element 'ref'.
- cvc-complex-type.2.4.d: Invalid content was found starting with element 'cim:Powersupply'.
- Your content must have a ListView whose id attribute is 'android.R.id.list'
- your content must have a listview whose id attribute is 'android.r.id.list'
- Spring配置文件加载时出现Bean property 'newscontentDAO' is not writable or has an invalid setter method错误的解决[00原创]
- Your content must have a ListView whose id attribute is 'android.R.id.list'解决办法
- cvc-complex-type.2.4.a: Invalid content was found starting with element 'taglib'错误
- Web.xml配置<taglib>标签报错问题(cvc-complex-type.2.4.a: Invalid content was found starting with element 'tag
- “cvc-complex-type.2.4.a: Invalid content was found starting with element 'book'”错误的解决办法
- cvc-complex-type.2.4.a: Invalid content was found starting with element 'taglib'错误
- Android中 Your content must have a ListView whose id attribute is 'android.R.id.list'错误的解决办法
- cvc-complex-type.3.2.2: 元素 'ref' 中不允许出现属性 'local'
- Your content must have a ListView whose id attribute is 'android.R.id.list'
- Spring配置文件加载时出现Bean property 'newscontentDAO' is not writable or has an invalid setter method错误的解决
- Android中 Your content must have a ListView whose id attribute is 'android.R.id.list'错误的解决办法
- Your content must have a TabHost whose id attribute is 'android.R.id.tabhost' 解决
- 错误处理:your content must have a TabHost whose id attribute is 'android.R.id.tabhost'
- cvc-complex-type.2.4.a: Invalid content was found starting with element 'init-param'.