mvcannotationdriven错误解决方案

mvcannotationdriven错误解决方案

ID:36194020

大小:15.41 KB

页数:8页

时间:2019-05-07

mvcannotationdriven错误解决方案_第1页
mvcannotationdriven错误解决方案_第2页
mvcannotationdriven错误解决方案_第3页
mvcannotationdriven错误解决方案_第4页
mvcannotationdriven错误解决方案_第5页
资源描述:

《mvcannotationdriven错误解决方案》由会员上传分享,免费在线阅读,更多相关内容在教育资源-天天文库

1、mvc:annotation-driven错误解决方案原因:以下内容除了有之外,还要保证版本一直(此处之所以出现问题是因为spring-mvc版本设置成了4.0)xsi:schemaLocation="http://www.springframework.org/schema/beans      http://www.springframework.org/schema/beans/spring-beans-3.0.xsd      http://www.springframework.org/schema/tx      http://www.springframework

2、.org/schema/tx/spring-tx-3.0.xsd      http://www.springframework.org/schema/jee      http://www.springframework.org/schema/jee/spring-jee-3.0.xsd      http://www.springframework.org/schema/context      http://www.springframework.org/schema/context/spring-context-3.0.xsd      http://www.sprin

3、gframework.org/schema/mvc      http://www.springframework.org/schema/mvc/spring-mvc-3.0.xsd      http://www.springframework.org/schema/aop      http://www.springframework.org/schema/aop/spring-aop.xsd">SEVERE:Exceptionsendingcontextinitializedeventtolistenerinstanceofclassorg.springframework

4、.web.context.ContextLoaderListenerorg.springframework.beans.factory.xml.XmlBeanDefinitionStoreException:Line22inXMLdocumentfromfile[/home/cipherTomcat/webapps/cipher/WEB-INF/classes/applicationContext.xml]isinvalid;nestedexceptionisorg.xml.sax.SAXParseException:cvc-complex-type.2.4.c:Thematc

5、hingwildcardisstrict,butnodeclarationcanbefoundforelement'mvc:annotation-driven'.    atorg.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadBeanDefinitions(XmlBeanDefinitionReader.java:396)    atorg.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(

6、XmlBeanDefinitionReader.java:334)    atorg.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:302)    atorg.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:174)   

7、 atorg.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:209)    atorg.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinit

当前文档最多预览五页,下载文档查看全文

此文档下载收益归作者所有

当前文档最多预览五页,下载文档查看全文
温馨提示:
1. 部分包含数学公式或PPT动画的文件,查看预览时可能会显示错乱或异常,文件下载后无此问题,请放心下载。
2. 本文档由用户上传,版权归属用户,天天文库负责整理代发布。如果您对本文档版权有争议请及时联系客服。
3. 下载前请仔细阅读文档内容,确认文档内容符合您的需求后进行下载,若出现内容与标题不符可向本站投诉处理。
4. 下载文档时可能由于网络波动等原因无法下载或下载错误,付费完成后未能成功下载的用户请联系客服处理。