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 执行 virtuoso 命令后,界面没有,cadence 启动不起来
  • ¥50 comfyui下连接animatediff节点生成视频质量非常差的原因
  • ¥20 有关区间dp的问题求解
  • ¥15 多电路系统共用电源的串扰问题
  • ¥15 slam rangenet++配置
  • ¥15 有没有研究水声通信方面的帮我改俩matlab代码
  • ¥15 ubuntu子系统密码忘记
  • ¥15 保护模式-系统加载-段寄存器
  • ¥15 电脑桌面设定一个区域禁止鼠标操作
  • ¥15 求NPF226060磁芯的详细资料