严重: 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文件, 重新启动

java.lang.NoSuchMethodError: org.springframework.web.context.ConfigurableWebApplicationContext.getEn
java.lang.NoSuchMethodError: org.springframework.web.context.ConfigurableWebApplicationContext.getEn

D:\MyEclipse CI\configuration\org.eclipse.osgi\81\0.cp\data\2.1\core

相关文章:

  • 2021-12-25
  • 2021-10-22
  • 2021-10-09
  • 2021-10-01
  • 2021-08-24
  • 2021-12-31
  • 2021-09-29
  • 2022-02-23
猜你喜欢
  • 2021-12-15
  • 2022-02-26
  • 2021-07-05
相关资源
相似解决方案