Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cant reach "http://localhost:8080/documentation/swagger-ui" when running the springfox-demos/boot-webflux/ demo #99

Closed
englishbobster opened this issue Sep 4, 2020 · 1 comment

Comments

@englishbobster
Copy link

englishbobster commented Sep 4, 2020

Running the webflux demo as is, I am getting:

2020-09-04 13:04:24.598 DEBUG 27404 --- [ctor-http-nio-2] o.s.w.s.adapter.HttpWebHandlerAdapter    : [5632a5bc-1] HTTP GET "/documentation/swagger-ui"
2020-09-04 13:04:24.618 DEBUG 27404 --- [ctor-http-nio-2] o.s.w.r.handler.SimpleUrlHandlerMapping  : [5632a5bc-1] Mapped to ResourceWebHandler ["classpath:/META-INF/resources/webjars/springfox-swagger-ui/"]
2020-09-04 13:04:24.618 DEBUG 27404 --- [ctor-http-nio-2] o.s.w.r.resource.ResourceWebHandler      : [5632a5bc-1] Resource not found
2020-09-04 13:04:24.648 DEBUG 27404 --- [ctor-http-nio-2] a.w.r.e.AbstractErrorWebExceptionHandler : [5632a5bc-1] Resolved [ResponseStatusException: 404 NOT_FOUND] for HTTP GET /documentation/swagger-ui

I have been getting the exact same behavior with a real world spring boot app at work, and so turned to the demo app to see what I was missing. Out of the box, its the same behavior.

Have tried a lot of different things like explicitly setting the resourceHandlers and resourceLocatons, but nothing seems to help.

Anyone else seeing this?

@englishbobster
Copy link
Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant