qq_35139954 2017-04-22 04:49 采纳率: 0%
浏览 1141

ssh整合后tomcat启动报错

spring 配置文件中如果是单设置sessionFactory 之类的bean是可以正常启动的,但是加上其他的一些业务的bean后启动就会报错误,请各位大神指教,如有需要上传其他内容请说明。
Context initialization failed
java.lang.IllegalArgumentException
at org.springframework.asm.ClassReader.(Unknown Source)
at org.springframework.asm.ClassReader.(Unknown Source)
四月 22, 2017 12:32:28 下午 org.apache.catalina.core.StandardContext listenerStart
严重: Exception sending context initialized event to listener instance of class org.springframework.web.context.ContextLoaderListener
java.lang.IllegalArgumentException
at org.springframework.asm.ClassReader.(Unknown Source)
at org.springframework.asm.ClassReader.(Unknown Source)
四月 22, 2017 12:32:28 下午 org.apache.catalina.core.StandardContext startInternal
严重: Context [/activiti_1110] startup failed due to previous errors
四月 22, 2017 12:32:28 下午 org.apache.catalina.core.ApplicationContext log
信息: Closing Spring root WebApplicationContext
12:32:28,501 INFO XmlWebApplicationContext:1042 - Closing Root WebApplicationContext: startup date [Sat Apr 22 12:32:27 CST 2017]; root of context hierarchy
12:32:28,513 WARN XmlWebApplicationContext:1052 - Exception thrown from ApplicationListener handling ContextClosedEvent
java.lang.IllegalStateException: ApplicationEventMulticaster not initialized - call 'refresh' before multicasting events via the context: Root WebApplicationContext: startup date [Sat Apr 22 12:32:27 CST 2017]; root of context hierarchy
at org.springframework.context.support.AbstractApplicationContext.getApplicationEventMulticaster(AbstractApplicationContext.java:347)
at org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:334)
at org.springframework.context.support.AbstractApplicationContext.doClose(AbstractApplicationContext.java:1049)

  • 写回答

1条回答

  • guyajianchi 2017-04-24 04:00
    关注

    查看一下业务bean的路径是否正确, 还有就是 bean里面自动注入的其他属性是不是出错了

    评论

报告相同问题?

悬赏问题

  • ¥15 thinkphp6配合social login单点登录问题
  • ¥15 HFSS 中的 H 场图与 MATLAB 中绘制的 B1 场 部分对应不上
  • ¥15 如何在scanpy上做差异基因和通路富集?
  • ¥20 关于#硬件工程#的问题,请各位专家解答!
  • ¥15 关于#matlab#的问题:期望的系统闭环传递函数为G(s)=wn^2/s^2+2¢wn+wn^2阻尼系数¢=0.707,使系统具有较小的超调量
  • ¥15 FLUENT如何实现在堆积颗粒的上表面加载高斯热源
  • ¥30 截图中的mathematics程序转换成matlab
  • ¥15 动力学代码报错,维度不匹配
  • ¥15 Power query添加列问题
  • ¥50 Kubernetes&Fission&Eleasticsearch