spring cloud 版本Dalston.SR4与swagger2.5.0冲突问题的坑

来源:互联网 发布:淘宝公司在哪里 编辑:程序博客网 时间:2024/06/11 06:17

spring cloud 版本Dalston.SR4与swagger2.5.0冲突问题

<parent>    <groupId>org.springframework.cloud</groupId>    <artifactId>spring-cloud-starter-parent</artifactId>    <version>Dalston.SR4</version></parent><dependency>        <groupId>io.springfox</groupId>        <artifactId>springfox-swagger-ui</artifactId>        <version>2.5.0</version>    </dependency>

报错:
swagger进行80端口转换错误

解决办法:升级swagger到2.7.0

遇到这种版本冲突也只能试了,尴尬

阅读全文
0 0
原创粉丝点击