问答详情
源自:3-2 引入相应配置文件-SSH环境搭建

applicationContext.xml报错cvc-elt.1: Cannot find the declaration of element 'beans'

http://img.mukewang.com/5847c40400012ac409530351.jpg

怎么解决,百度了很多,不管用,求大神帮帮忙

提问者:打油酱 2016-12-07 16:11

个回答

  • 打油酱
    2016-12-07 22:37:34

    ERROR - Context initialization failed

    org.springframework.beans.factory.xml.XmlBeanDefinitionStoreException: Line 31 in XML document from class path resource [applicationContext.xml] is invalid; nested exception is org.xml.sax.SAXParseException; lineNumber: 31; columnNumber: 4; cvc-elt.1: 找不到元素 'beans' 的声明。


  • supjtr
    2016-12-07 21:30:01

    http://llyzq.iteye.com/blog/1117288  你这有错误提示,上网一查就可以了