'swagger, actuator "Failed to start bean 'documentationPluginsBootstrapper'; nested exception is java.lang.NullPointerException"
When using Spring Boot 2.6 actuator and swagger together, "Failed to start bean 'documentationPluginsBootstrapper'; nested exception is java.lang.NullPointerException" error occurs.
The swagger bug was fixed by setting spring.mvc.pathmatch.matching-strategy.ant_path_matcher , but when actuator is added, the low error occurs again.
help me
Solution 1:[1]
I faced similar problem. It got solved when I downgraded the spring boot version from 2.6.3 to 2.4.1. If there is mismatch between spring boot version and swagger version. Then this issue happens.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | Shweta Sinha |
