Error creating bean with name ‘requestMappingHandlerMapping’ defined in class path resource

  • Post author:
  • Post category:其他



Error starting ApplicationContext. To display the conditions report re-run your application with ‘debug’ enabled.


[ERROR] [2019-04-21 23:38:36][org.springframework.boot.SpringApplication – 858]Application run failed

org.springframework.beans.factory.BeanCreationException:

Error creating bean with name ‘

requestMappingHandlerMapping

‘ defined in class path resource [org/springframework/boot/autoconfigure/web/servlet/WebMvcAutoConfiguration$EnableWebMvcConfiguration.class]

: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping]: Factory method ‘requestMappingHandlerMapping’ threw exception; nested exception is java.lang.NullPointerException



版权声明:本文为qq_20757489原创文章,遵循 CC 4.0 BY-SA 版权协议,转载请附上原文出处链接和本声明。