---
title: "java.lang.NoSuchMethodError: org.springframework.web.context.ConfigurableWebAppl"
author: "lihaiming"
date: "2017-08-10T16:52:06Z"
tags: ["NoSuchMethodError"]
categories: ["编程语言"]
slug: "java-lang-nosuchmethoderror-org-springframework-web-context-configurablewebappl"
draft: false
lastmod: "2017-08-10T16:52:06Z"
id: 2389252
url: "https://lihaiming.iteye.com/blog/2389252"
---

运行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依赖后，问题解决