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个回答

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

Csdn user default icon
上传中...
上传图片
插入图片
抄袭、复制答案,以达到刷声望分或其他目的的行为,在CSDN问答是严格禁止的,一经发现立刻封号。是时候展现真正的技术了!