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

Quarkus resource not found on subdir #10712

Closed
tassadar81 opened this issue Jul 14, 2020 · 0 comments · Fixed by #11113
Closed

Quarkus resource not found on subdir #10712

tassadar81 opened this issue Jul 14, 2020 · 0 comments · Fixed by #11113
Labels
kind/bug Something isn't working
Milestone

Comments

@tassadar81
Copy link

Describe the bug
Quarkus app doesn't serve default index.html resource on subdirs property with prod profile, on subdirs it gives a resource not found

Expected behavior
Serve the default index.html on subdirs like is happening launching the app with quarkus:dev

Actual behavior
put an index.html inside src/main/resources/META-INF/resources one ndex.html insede src/main/resources/META-INF/resources/subdir

do a clean package then, run java -jar *-runner.jar then use a broweser to get localhost:8080/subdir responds me resource not found

Configuration
i used the rest-json-quickstart to reproduce it

Environment (please complete the following information):
openjdk version "11.0.1" 2018-10-16
OpenJDK Runtime Environment 18.9 (build 11.0.1+13)
OpenJDK 64-Bit Server VM 18.9 (build 11.0.1+13, mixed mode)

@tassadar81 tassadar81 added the kind/bug Something isn't working label Jul 14, 2020
stuartwdouglas added a commit to stuartwdouglas/quarkus that referenced this issue Jul 31, 2020
@gsmet gsmet added this to the 1.7.0.CR1 milestone Jul 31, 2020
gsmet pushed a commit to gsmet/quarkus that referenced this issue Jul 31, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants