ssh整合报错
java.lang.NoSuchMethodError:org.springframework.context.support.AbstractRefreshableCo...
java.lang.NoSuchMethodError: org.springframework.context.support.AbstractRefreshableConfigApplicationContext.getEnvironment()Lorg/springframework/core/env/ConfigurableEnvironment;
Exception sending context initialized event to listener instance of class org.springframework.web.context.ContextLoaderListener
java.lang.NoSuchMethodError: org.springframework.context.support.AbstractRefreshableConfigApplicationContext.getEnvironment()Lorg/springframework/core/env/ConfigurableEnvironment;
WARN XmlWebApplicationContext:1010 - Exception thrown from ApplicationListener handling ContextClosedEvent
java.lang.IllegalStateException: ApplicationEventMulticaster not initialized - call 'refresh' before multicasting events via the context: Root WebApplicationContext: startup date [Sun Jun 09 13:58:46 CST 2013]; root of context hierarchy
WARN XmlWebApplicationContext:1018 - Exception thrown from LifecycleProcessor on context close
java.lang.IllegalStateException: LifecycleProcessor not initialized - call 'refresh' before invoking lifecycle methods via the context: Root WebApplicationContext: startup date [Sun Jun 09 13:58:46 CST 2013]; root of context hierarchy
严重: Exception sending context destroyed event to listener instance of class org.springframework.web.context.ContextLoaderListener
java.lang.IllegalStateException: BeanFactory not initialized or already closed - call 'refresh' before accessing beans via the ApplicationContext 展开
Exception sending context initialized event to listener instance of class org.springframework.web.context.ContextLoaderListener
java.lang.NoSuchMethodError: org.springframework.context.support.AbstractRefreshableConfigApplicationContext.getEnvironment()Lorg/springframework/core/env/ConfigurableEnvironment;
WARN XmlWebApplicationContext:1010 - Exception thrown from ApplicationListener handling ContextClosedEvent
java.lang.IllegalStateException: ApplicationEventMulticaster not initialized - call 'refresh' before multicasting events via the context: Root WebApplicationContext: startup date [Sun Jun 09 13:58:46 CST 2013]; root of context hierarchy
WARN XmlWebApplicationContext:1018 - Exception thrown from LifecycleProcessor on context close
java.lang.IllegalStateException: LifecycleProcessor not initialized - call 'refresh' before invoking lifecycle methods via the context: Root WebApplicationContext: startup date [Sun Jun 09 13:58:46 CST 2013]; root of context hierarchy
严重: Exception sending context destroyed event to listener instance of class org.springframework.web.context.ContextLoaderListener
java.lang.IllegalStateException: BeanFactory not initialized or already closed - call 'refresh' before accessing beans via the ApplicationContext 展开
4个回答
2013-06-09
展开全部
明显缺少依赖包,具体版本看你spring版本
工程引入下边依赖包:
org.springframework.context.support-3.0.5.RELEASE.jar
工程引入下边依赖包:
org.springframework.context.support-3.0.5.RELEASE.jar
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
展开全部
nosuchmethod一般是版本错误造成的
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
展开全部
说得很清楚了,java.lang.NoSuchMethodError。
追问
什么意思啊?怎么改啊
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
展开全部
ContextLoaderListener是关键,web.xml中你配置监听了吗?
追问
org.springframework.web.context.ContextLoaderListener
追答
配置下你 applicatinContext.xml的位置
比如classpath:applicationContext.xml
本回答被提问者采纳
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询
广告 您可能关注的内容 |