web程序是spring mvc+hibrnate,建立了一个简单的controller,成功的实现了跳转,但是当
添加spring security时,启动后出现了如下错误:org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.security.filterChains': Initialization of bean failed; nested exception is java.lang.NoClassDefFoundError: org/springframework/web/context/request/async/CallableProcessingInterceptor网上找了下,发现是缺少了这个包org.springframework.web-3.2.1.RELEASE.jar,下载负责到程序里这个问题就解决了,但是出现了新的问题,错误显示如下:java.lang.NoSuchMethodError: org.springframework.web.context.request.async.WebAsyncManager.registerAsyncThreadInitializer
(Ljava/lang/Object;Lorg/springframework/web/context/request/async/WebAsyncManager$WebAsyncThreadInitializer;)检查发现是org.springframework.web-3.2.1.RELEASE.jar这个包里的WebAsyncManager没有registerAsyncThreadInitializer方法,而spring-web-3.2.0.M2.jar这个属于spring的包却又包含了
registerAsyncThreadInitializer方法。求问怎么解决?