java.lang.NoSuchMethodError: org.springframework.web.context.ConfigurableWebApplicationContext.setId
2014-02-10 21:43
686 查看
运行spring报了这个错误,网上说是spring版本冲突,检查maven依赖,发现我依赖的是spring-core.3.0.5,但是spring-orm和spring-tx依赖了spring-beans-2.5.6和spring-context.2.5.6,我将spring-beans.3.0.5和spring-context.3.0.5增加到maven依赖后,问题解决
相关文章推荐
- java.lang.NoSuchMethodError: org.springframework.web.context.ConfigurableWebApplicationContext.setId
- org.springframework.web.context.ConfigurableWebApplicationContext.setId(Ljava/lang/String;)V
- org.springframework.web.context.ConfigurableWebApplicationContext.setId(Ljava/lang/String;)V
- 在eclipse中运行spring web application时的异常: java.lang.ClassNotFoundException: org.springframework.web.context.ContextLoaderListener
- 异常:Caused by: java.lang.NoClassDefFoundError: org/springframework/web/context/WebApplicationContext
- tomcat : Error configuring application listener of class org.springframework.web.context.ContextLoaderListener java.lang.ClassNotFoundException:
- java.lang.NoSuchMethodError: org.springframework.web.context.support.XmlWebApplication的错误
- Caused by: java.lang.NoClassDefFoundError: org/springframework/web/context/WebApplicationContext
- Caused by: java.lang.NoClassDefFoundError: org/springframework/web/context/WebApplicationContext
- java.lang.ClassNotFoundException: org.springframework.web.context.ConfigurableWebEnvironment
- java.lang.NoSuchMethodError: org.springframework.web.context.support.XmlWebApplicationContext.getEnv
- Caused by: java.lang.NoClassDefFoundError: org/springframework/web/context/WebApplicationContext
- maven项目 启动报错:java.lang.ClassNotFoundException: org.springframework.web.context.ContextLoaderListener
- 部署Maven项目到tomcat报错:java.lang.ClassNotFoundException: org.springframework.web.context.ContextLoaderLi
- java.lang.ClassNotFoundException: org.springframework.web.context.ContextLoaderListener错误解决方案
- java.lang.ClassNotFoundException: org.springframework.web.context.ContextLoaderListener
- eclipse使用maven,启动工程tomcat报错:java.lang.ClassNotFoundException: org.springframework.web.context.Contex
- java.lang.ClassNotFoundException: org.springframework.web.context.ContextLoaderListener
- 解决java.lang.ClassNotFoundException: org.springframework.web.context.ContextLoader
- maven 项目 启动时异常:java.lang.ClassNotFoundException: org.springframework.web.context.ContextLoaderListen