SpringBoot使用Swagger2出现Unable to infer base url.


使用spring boot 和swagger2 启动项目后,访问swagger-ui出现上面的情况

解决方式:是要在SpringBoot的启动Application前面加上 @EnableSwagger2注解

相关文章:

  • 2021-05-28
  • 2021-09-09
  • 2021-05-22
  • 2021-06-29
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-08-16
猜你喜欢
  • 2021-12-20
  • 2021-06-19
  • 2021-11-10
  • 2021-06-05
  • 2021-12-03
  • 2021-04-30
相关资源
相似解决方案