Spring启动异常cvc-elt.1Cannotfindthedeclarationofelementx27beansx27.pdf
《Spring启动异常cvc-elt.1Cannotfindthedeclarationofelementx27beansx27.pdf》由会员分享,可在线阅读,更多相关《Spring启动异常cvc-elt.1Cannotfindthedeclarationofelementx27beansx27.pdf(3页珍藏版)》请在三一文库上搜索。
1、Spring启动异常 : cvc-elt.1: Cannot find the declaration of element beans Spring启动异常 : cvc-elt.1: Cannot find the declaration of element beans 今天把在线聊天室代码改了下, 想启动应用测试 . 结果抛出一大堆异常 : - - org.springframework.beans.factory.xml.XmlBeanDefinitionStoreExceptio n: Line 4 in XML document from class path resource a
2、pplicationContext.xml is invalid; nested exception is org.xml.sax.SAXParseException: cvc-elt.1: Cannot find the declaration of element beans. 这就奇怪了 . 上午都还是好的 . 突然说 Spring 配置文件不对 . 根据异常说的 : 就是beans 没有定义 . 这可能是命名空间有问题: - - 这定义是 MyEclipse 自动生成的 . 应该不会有错吧 . 没办法 , 只有上百度了 . 几 个网友也有我类似的问题. 其中一网友答案很是经典 : Sp
- 配套讲稿:
如PPT文件的首页显示word图标,表示该PPT已包含配套word讲稿。双击word图标可打开word文档。
- 特殊限制:
部分文档作品中含有的国旗、国徽等图片,仅作为作品整体效果示例展示,禁止商用。设计者仅对作品中独创性部分享有著作权。
- 关 键 词:
- Spring 启动 异常 cvc elt Cannotfindthedeclarationofelementx27beansx27
链接地址:https://www.31doc.com/p-5012238.html