你的项目已经使用了sawgger2.x版本。
https://github.com/springfox/springfox
NOTE: Would love feedback to make this better
Remove explicit dependencies on springfox-swagger2
Remove any @EnableSwagger2… annotations
Add the springfox-boot-starter dependency
Springfox 3.x removes dependencies on guava and other 3rd party libraries (not zero dep yet! depends on spring plugin and open api libraries for annotations and models) so if you used guava predicates/functions those will need to transition to java 8 function interfaces.
移除了2.x版本的冲突版本,移除了guava等
移除了@EnableSwagger2
新增了springfox-boot-starter
删除之前的依赖,直接使用最新的starter方式。
<parent&