码迷,mamicode.com
首页 > 编程语言 > 详细

Springboot启动报错:Unable to infer base url. This is common when using dynamic servlet...

时间:2020-12-30 10:25:19      阅读:0      评论:0      收藏:0      [点我收藏+]

标签:height   when   项目   round   token   src   infer   let   load   

Springboot项目启动,IDE的控制台报错信息:

  Unable to infer base url. This is common when using dynamic servlet registration or when the API is behind an API Gateway.

The base url is the root of where all the swagger resources are served. For e.g. if the api is available at http://example.org/api/v2/api-docs then the base url is http://example.org/api/.

Please enter the location manually;

技术图片

可能是启动类缺少注解@EnableSwagger2

Springboot启动报错:Unable to infer base url. This is common when using dynamic servlet...

标签:height   when   项目   round   token   src   infer   let   load   

原文地址:https://www.cnblogs.com/unknownCode/p/14183625.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!