Tag Archives: Springboot integrate swagger Error

[Solved] Springboot integrate swagger Error: Failed to start bean ‘documentationPluginsBootstrapper‘

The compilation error of ‘documentationpluginsbootstrapper’ of failed to start bean appears after springboot integrates swagger:

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

Solution: add a comment in the startup class: @enablewebmvc