Springboot 整合 swagger 使用的 springfox 报错
经排查为版本bug
报错: Failed to start bean 'documentationPluginsBootstrapper'; nested exception is java.lang.NullPointerException
正常情况下, 导入相关依赖, 然后配置配置类, 接口加上注解就可以直接使用
相关swagger依赖:
<dependency>
<groupId>io.springfox</groupId>
<artifactId>springfox-swagger2</artifactId>
<version>3.0.0