Spring MVC。 加载上下文时不识别RequestMapping注释名称属性

我有一个带有@RequestMapping注释的Spring @Controller的应用程序。 使用Spring(core和webmvc)4.1.0.RELEASE或更高版本我在启动app服务器时遇到exception。

 java.lang.NoSuchMethodError: org.springframework.web.bind.annotation.RequestMapping.name()Ljava/lang/String; at method RequestMappingHandlerMapping.createRequestMappingInfo(RequestMapping annotation, RequestCondition customCondition) 

使用Eclipse检查进行调试时,方法变量annotation不包含name属性,并且在操作annotation.name()失败。 所有其他属性值都是正确的(它们具有在使用@RequestMapping注释的Controller方法中定义的值)。

我正在使用Tomcat 7和Maven 2.3。 mvn dependency:tree不显示其他Spring版本而不是4.1.0.RELEASE。 使用Spring 4.0.7.RELEASE或更低版本时不会发生错误。 有没有人有任何线索?

看起来像类路径问题。 正在加载旧版本的RequestMapping。