StandardReflectionParameterNameDiscoverer.getParameterNames() has thrown a NoSuchMethodError

java.lang.NoSuchMethodError
at org.springframework.core.StandardReflectionParameterNameDiscoverer.getParameterNames

Typical Exception Messages

  1. java.lang.reflect.Parameter.isNamePresent()Z
  2. Error creating bean with name 'org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping#0': Initialization of bean failed; nested exception is java.lang.NoSuchMethodError: java.lang.reflect.Constructor.getParameters()[Ljava/lang/reflect/Parameter;
  3. Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/rest]]

Specific cases

External results for this pattern (4)

  1. Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/rest]]
    Show stack trace
  2. Dhivvia Stack Overflow2 years ago
    Error creating bean with name 'org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping#0': Initialization of bean failed; nested exception is java.lang.NoSuchMethodError: java.lang.reflect.Constructor.getParameters()[Ljava/lang/reflect/Parameter;
    Show stack trace