2013-05-05 81 views

回答

2

看起來您從Spring 2.5.x分支中獲得了類WebUtils(此方法已添加到3.x分支中)。

請檢查您的依賴關係,並搜索來自3.x和2.5.x分支的庫的混合。

+0

我也面臨同樣的問題。這裏添加堆棧跟蹤 java.lang.NoSuchMethodError:org.springframework.web.util.WebUtils.getNativeResponse(Ljavax/servlet/ServletResponse; Ljava/lang/Class;)Ljava/lang/Object; \t at org.springframework.security.web.context.HttpSessionSecurityContextRepository.saveContext(HttpSessionSecurityContextRepository.java:109) – 2015-06-24 12:48:08

相關問題