Failed to start bean ‘documentationPluginsBootstrapper‘ [How to Solve]

Error when springboot integrates swagger:

pplication run failed

org.springframework.context.ApplicationContextException: Failed to start bean 'documentationPluginsBootstrapper'; nested exception is java.lang.NullPointerException


This is because the springboot version is too high, resulting in a bug.


1. Reduce your SpringBoot version

2. Add the followings to your configuration file:


Read More: