springboot security1.5.3 java.lang.NoSuchMethodError: org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.getResponseStatus()

java.lang.NoSuchMethodError: org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.getResponseStatus()Lorg/springframework/http/HttpStatus;

at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.setResponseStatus(ServletInvocableHandlerMethod.java:128) ~[spring-webmvc-4.3.8.RELEASE.jar:4.3.8.RELEASE]

...

原因:

项目已引用 :

spring-boot-starter-web

和spring-boot-starter-security里的spring-web 4.3.5冲突

解决办法:



你可能感兴趣的:(springboot security1.5.3 java.lang.NoSuchMethodError: org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.getResponseStatus())