严重: Exception sending context initialized event to listener instance
of class org.springframework.web.context.ContextLoaderListener
java.lang.NoSuchMethodError:
org.springframework.web.context.ConfigurableWebApplicationContext.getEnvironment()Lorg/springframework/core/env/ConfigurableEnvironment;
原因:
1.spring导入了包冲突了
2.引用的spring包的context版本不一致,
解决方法:
改用相同版本的spring,删除重复的jar包。
尝试2:
应该是struts的问题,struts库有一个文件oro.jar,tomcat容器加载这个文件的时候会很慢,有的时候会停止在 Initializing Spring root WebApplicationContext地方,解决办法是去掉这个jar文件, 重新启动
D:\MyEclipse CI\configuration\org.eclipse.osgi\81\0.cp\data\2.1\core