访问 swagger 的页面就弹出提示框:Unable to infer base url. This is common when using dynamic servlet registration or when the API is behind an API Gateway. The base url is the root of where all the swagger resources are served. For e.g. if the api is available at http://example.org/api/v2/api-docs then the base url is http://example.org/api/. Please enter the location manually:
这到底是什么怎么回事? 我原本用的是 2.22 版,导入:
<dependency>
<groupId>io.springfox</groupId>
<artifactId>springfox-swagger2</artifactId>
<version>2.2.2</version>
</dependency>
<dependency>
<groupId>io.springfox</groupId>
<artifactId>springfox-swagger-ui</artifactId>
<version>2.2.2</version>
</dependency>
后来改为 2.9.2 版后觉得界面接收不了又改回 2.22 版 ,结果 swagger 再次开启就弹出提示框了,无法用了!!!怎么复原回去啊?