Unable to infer base url. This is common when using dynamic servlet registration or when the API is) @[TOC](Unable to infer base url. This is common when using dynamic servlet registration or when the API is) Unable to infer base url. This is common when using dynamic servlet registration or when the API is) 访问 http://localhost:53050/consumer/swagger-ui.html 报错 解决方法:启动类上加@EnableSwagger2注解 :