项目依赖问题,将原有项目依赖
<dependency> <groupId>io.springfox</groupId> <artifactId>springfox-oas</artifactId> <version>3.0.0</version> </dependency>
修改为
<dependency> <groupId>io.springfox</groupId> <artifactId>springfox-oas</artifactId> </dependency> <dependency> <groupId>io.springfox</groupId> <artifactId>springfox-swagger-ui</artifactId> </dependency>