wxm0646 2016-04-15 01:37 采纳率: 0%
浏览 1610

maven+springmvc开发的web工程,发布到tomcat时抛出异常,哪位大神给看看

Exception sending context initialized event to listener instance of class org.springframework.web.context.ContextLoaderListener
org.springframework.beans.factory.parsing.BeanDefinitionParsingException: Configuration problem: Failed to import bean definitions from relative location [applicationContext.xml]
Offending resource: URL [file:/F:/apache-tomcat-7.0.68/webapps/yjmanage/WEB-INF/classes/spring_config/applicationContext-mvc.xml]; nested exception is org.springframework.beans.factory.parsing.BeanDefinitionParsingException: Configuration problem: Failed to import bean definitions from relative location [applicationContext-security.xml]
Offending resource: URL [file:/F:/apache-tomcat-7.0.68/webapps/yjmanage/WEB-INF/classes/spring_config/applicationContext.xml]; nested exception is org.springframework.beans.factory.xml.XmlBeanDefinitionStoreException: Line 4 in XML document from URL [file:/F:/apache-tomcat-7.0.68/webapps/yjmanage/WEB-INF/classes/spring_config/applicationContext-security.xml] is invalid; nested exception is org.xml.sax.SAXParseException; lineNumber: 4; columnNumber: 121; cvc-elt.1.a: Cannot find the declaration of element 'b:beans'.

  • 写回答

5条回答 默认 最新

  • wxm0646 2016-04-15 01:39
    关注

    以上是tomcat的日志输出,用浏览器访问时报404错误

    评论

报告相同问题?

悬赏问题

  • ¥15 k8s部署jupyterlab,jupyterlab保存不了文件
  • ¥15 ubuntu虚拟机打包apk错误
  • ¥199 rust编程架构设计的方案 有偿
  • ¥15 回答4f系统的像差计算
  • ¥15 java如何提取出pdf里的文字?
  • ¥100 求三轴之间相互配合画圆以及直线的算法
  • ¥100 c语言,请帮蒟蒻写一个题的范例作参考
  • ¥15 名为“Product”的列已属于此 DataTable
  • ¥15 安卓adb backup备份应用数据失败
  • ¥15 eclipse运行项目时遇到的问题