SpringBoot集成Swagger2出现:Failed to start bean 'documentationPluginsBootstrapper'; nested exception is java.lang.NullPointerException

 

问题如下:

 

 

解决方式:

启动类加上@EnableWebMvc注解

 

posted @ 2022-01-15 16:26  24、  阅读(288)  评论(0)    收藏  举报