quarkus: Quarkus 1.12.1.Final swagger-ui endpoint under /q is broken: stale content in tmp
I have issue with swagger-ui endpoint
2021-03-08 07:46:18,870 INFO [io.quarkus] (Quarkus Main Thread) Installed features: [cdi, hibernate-validator, kubernetes, kubernetes-client, logging-manager, rest-client, resteasy, resteasy-jackson, smallrye-context-propagation, smallrye-fault-tolerance, smallrye-health, smallrye-metrics, smallrye-openapi, swagger-ui]
mvn clean quarkus:dev
with swagger-ui I obtain a white page with those errors
GET http://localhost:8383/q/swagger-ui/style.css net::ERR_ABORTED 404 (Not Found)
(index):16 GET http://localhost:8383/q/swagger-ui/swagger-ui-bundle.js net::ERR_ABORTED 404 (Not Found)
(index):17 GET http://localhost:8383/q/swagger-ui/swagger-ui-standalone-preset.js net::ERR_ABORTED 404 (Not Found)
(index):6 GET http://localhost:8383/q/swagger-ui/swagger-ui.css net::ERR_ABORTED 404 (Not Found)
(index):7 GET http://localhost:8383/q/swagger-ui/theme-feeling-blue.css net::ERR_ABORTED 404 (Not Found)
(index):17 GET http://localhost:8383/q/swagger-ui/swagger-ui-standalone-preset.js net::ERR_ABORTED 404 (Not Found)
(index):21 Uncaught ReferenceError: SwaggerUIBundle is not defined
at window.onload ((index):21)
window.onload @ (index):21
load (async)
(anonymous) @ (index):20
favicon.ico:1 GET http://localhost:8383/q/swagger-ui/favicon.ico 404 (Not Found)

with http://localhost:8383/q/dev/
in the browser console we have this :
http://localhost:8383/q//dev/resources/css/bootstrap.min.css net::ERR_ABORTED 404 (Not Found)

About this issue
- Original URL
- State: closed
- Created 3 years ago
- Reactions: 1
- Comments: 15 (14 by maintainers)
Ok I can make an enhancement to clear on first dev mode start as well.
@ebullient yes, now that we identified the root cause of the problem.