Spring boot V3.0.0 support
See original GitHub issueEverything was running fine with Spring boot V2.7.5. However, once I upgraded to Spring boot V3.0.0. I can no longer view any docs under the usual paths (http://server:port/context-path/swagger-ui.html, http://server:port/context-path/v3/api-docs) and instead im getting a white label 404.
- What version of spring-boot you are using?
- V3.0.0
- What modules and versions of springdoc-openapi are you using?
- V1.6.13
Notes:
setting the property log.level.web=trace shows the following when calling the previously mentioned endpoints:
TRACE | http-nio-8081-exec-1 | o.s.web.servlet.DispatcherServlet | GET "/v3/api-docs", parameters={}, headers={masked} in DispatcherServlet 'dispatcherServlet' TRACE | http-nio-8081-exec-1 | o.s.w.s.h.SimpleUrlHandlerMapping | Mapped to HandlerExecutionChain with [ResourceHttpRequestHandler [classpath [META-INF/resources/], classpath [resources/], classpath [static/], classpath [public/], ServletContext [/]]] and 3 interceptors DEBUG | http-nio-8081-exec-1 | o.s.w.s.r.ResourceHttpRequestHandler | Resource not found TRACE | http-nio-8081-exec-1 | o.s.web.servlet.DispatcherServlet | No view rendering, null ModelAndView returned. DEBUG | http-nio-8081-exec-1 | o.s.web.servlet.DispatcherServlet | Completed 404 NOT_FOUND, headers={masked}
TRACE | http-nio-8081-exec-3 | o.s.web.servlet.DispatcherServlet | GET "/swagger-ui.html", parameters={}, headers={masked} in DispatcherServlet 'dispatcherServlet' TRACE | http-nio-8081-exec-3 | o.s.w.s.h.SimpleUrlHandlerMapping | Mapped to HandlerExecutionChain with [ResourceHttpRequestHandler [classpath [META-INF/resources/], classpath [resources/], classpath [static/], classpath [public/], ServletContext [/]]] and 3 interceptors DEBUG | http-nio-8081-exec-3 | o.s.w.s.r.ResourceHttpRequestHandler | Resource not found TRACE | http-nio-8081-exec-3 | o.s.web.servlet.DispatcherServlet | No view rendering, null ModelAndView returned. DEBUG | http-nio-8081-exec-3 | o.s.web.servlet.DispatcherServlet | Completed 404 NOT_FOUND, headers={masked}
Issue Analytics
- State:
- Created 10 months ago
- Reactions:1
- Comments:7 (3 by maintainers)

Top Related StackOverflow Question
@its-Saab, You are using wrong version. Please read the documentation before opening issues:
@DManhHieu
@TomBeckett, See documentation:
@DManhHieu,
You only need
springdoc-openapi-starter-webmvc-ui.springdoc-openapi-starter-commonis transitively coming fromspringdoc-openapi-starter-webmvc-ui…