question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Quarkus 1.12.1.Final swagger-ui endpoint under /q is broken: stale content in tmp

See original GitHub issue

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)

image

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)

image

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:1
  • Comments:15 (14 by maintainers)

github_iconTop GitHub Comments

1reaction
phillip-krugercommented, Mar 9, 2021

Ok I can make an enhancement to clear on first dev mode start as well.

1reaction
survivantcommented, Mar 8, 2021

@ebullient yes, now that we identified the root cause of the problem.

Read more comments on GitHub >

github_iconTop Results From Across the Web

chore(deps): update dependency io.quarkus:quarkus ... - GitLab
An error occurred while retrieving approval data for this merge request. chore(deps): update dependency io.quarkus:quarkus ...
Read more >
quarkusio/quarkus 1.13.0.Final on GitHub - NewReleases.io
New release quarkusio/quarkus version 1.13.0.Final on ... (using 1.12.1.Final) ... 1.12.1.Final swagger-ui endpoint under /q is broken: stale content in tmp ...
Read more >
Java | Programmatic Ponderings
Retrieving data from the data lake via AWS Glue, using Athena, is handled by a service class. For each API endpoint in the...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found