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 用C语言输入方程怎么
  • ¥15 网站显示不安全连接问题
  • ¥15 github训练的模型参数无法下载
  • ¥15 51单片机显示器问题
  • ¥20 关于#qt#的问题:Qt代码的移植问题
  • ¥50 求图像处理的matlab方案
  • ¥50 winform中使用edge的Kiosk模式
  • ¥15 关于#python#的问题:功能监听网页
  • ¥15 怎么让wx群机器人发送音乐
  • ¥15 fesafe材料库问题