0
点赞
收藏
分享

微信扫一扫

Swagger2 Unable to infer base url. This is common

​​http://localhost:8080/swagger-ui.html​​

弹出:

Swagger2 Unable to infer base url. This is common_重启

 

 

解决方法:除了SwaggerConfig 上要加@EnableSwagger2 ,启动类上也要加

Swagger2 Unable to infer base url. This is common_解决方法_02

 

 

重启再次访问如下

Swagger2 Unable to infer base url. This is common_html_03

 



举报

相关推荐

0 条评论