-1

I am facing an error with my spring-boot application after adding the spring-boot actuator. error saying

failed to start bean documentationPlugginBootstraper, nested exception NullPointer

attached is an image of an error

enter image description here

I am using Gradle as a build tool and below is my gradle.build file image

enter image description here

I need to use spring-boot version 2.6.6 and I added the below line to application.properties file

spring.mvc.pathmatch.matching-strategy=ant-path-matcher

The application is working fine and loading swagger API documentation when I comment spring-boot actuator dependent but I also need that to check the health

Is there any recommendation for fixing this issue, please?

Manoj Madushanka
  • 371
  • 1
  • 7
  • 21

1 Answers1

0

for resolving this I changed my swagger config class according to the below link answer Springfox 3.0.0 is not working with Spring Boot 2.6.0

Manoj Madushanka
  • 371
  • 1
  • 7
  • 21