swaggerconfig

    Swagger 오류: Unable to infer base url. ...

    새로 진행하는 프로젝트에서 swagger 설정을 해보았는데 아래와 같은 오류가 발생했다. 설정 오류라 얼럿으로 팝업이 출력되면서 swagger-ui.html화면으로 연결이 안 되는 현상. 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. ... (후략) @EnableSwagger2 어노테이션을 Config클래스에 달아라, 메인클래스에 달아라, 버전을 2.9.2로 낮춰라, 스프링 시큐리티와 설정 충돌 문제다 등등..