1.弹窗问题
解决办法:
在@SpringBootApplication的上面加上另外一个注解即可:
@EnableSwagger2
2.如果经过1后,错误改变为:Failed to start bean ‘documentationPluginsBootstrapper’; nested exception is java.lang.NullPointerEx
解决办法:修改配置文件:增加:
spring.mvc.pathmatch.matching-strategy=ANT_PATH_MATCHER