Home  >  Q&A  >  body text

java - ssm integration gives an error when accessing the presentation layer. .

严重: Servlet.service() for servlet [tour-manager] in context with path [] threw exception [Handler processing failed; nested exception is java.lang.NoSuchMethodError: org.springframework.core.MethodParameter.nestedIfOptional()Lorg/springframework/core/MethodParameter;] with root cause
java.lang.NoSuchMethodError: org.springframework.core.MethodParameter.nestedIfOptional()Lorg/springframework/core/MethodParameter;

at org.springframework.web.method.annotation.RequestParamMethodArgumentResolver.supportsParameter(RequestParamMethodArgumentResolver.java:137)
at org.springframework.web.method.support.HandlerMethodArgumentResolverComposite.getArgumentResolver(HandlerMethodArgumentResolverComposite.java:135)
at org.springframework.web.method.support.HandlerMethodArgumentResolverComposite.supportsParameter(HandlerMethodArgumentResolverComposite.java:106)
at org.springframework.web.method.support.InvocableHandlerMethod.getMethodArgumentValues(InvocableHandlerMethod.java:156)
at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:128)

phpcn_u1582phpcn_u15822711 days ago783

reply all(1)I'll reply

  • 世界只因有你

    世界只因有你2017-05-18 10:46:03

    Thank you for the invitation, please take a look at what you quotedspring-core是什么版本的? MethodParameter#nestedIfOptional()好像是4.3之后才有的, 看下是不是引用了多个不同版本的spring-core, it may cause conflicts or something like that

    reply
    0
  • Cancelreply