0

While upgrading my spring-boot project to 2.7.5 i got some incompaitability issues with springfox and actuator, for that i made changes by following this link...

Spring Boot 2.6.0 / Spring fox 3 - Failed to start bean 'documentationPluginsBootstrapper'

Im using Actuator in my project, with the above changes actuator endpoints like /health not working fine, so i decided to migrate to springdoc.. i made the changes but im unable to open my swagger.. getting the below error

java.lang.IllegalStateException: Failed to load ApplicationContext Caused by: 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]

I have added spring.mvc.pathmatch.matching-strategy=ant_path_matcher, im not getting the error but swagger was not opening and the actuator endpoints also not working as expected getting status as DOWN while checking the health..

Toni
  • 3,296
  • 2
  • 13
  • 34

0 Answers0