curl -i 'http://localhost:8080'
HTTP/1.1 404 Not Found
content-length: 0
Configuration
# Add your application.properties here, if applicable.
Screenshots
(If applicable, add screenshots to help explain your problem.)
Environment (please complete the following information):
Output of uname -a or ver
uname -a
Linux fedora 5.11.15-300.fc34.x86_64 #1 SMP Fri Apr 16 13:41:48 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
Output of java -version
java -version
openjdk version "11.0.11" 2021-04-20
OpenJDK Runtime Environment 18.9 (build 11.0.11+9)
OpenJDK 64-Bit Server VM 18.9 (build 11.0.11+9, mixed mode, sharing)
GraalVM version (if different from Java)
[INFO] [io.quarkus.deployment.pkg.steps.NativeImageBuildStep] Running Quarkus native-image plugin on GraalVM Version 21.0.0.2 (Java Version 11.0.10+8-jvmci-21.0-b06)
Quarkus version or git rev
grep quarkus pom.xml|grep version
<quarkus-plugin.version>1.13.3.Final</quarkus-plugin.version>
<quarkus.platform.version>1.13.3.Final</quarkus.platform.version>
Build tool (ie. output of mvnw --version or gradlew --version)
Describe the bug
Static resources aren't available with a native image. The only extension added is resteasy-reactive. Dev mode works as expected.
Expected behavior
curl to respond with 200 OK
Actual behavior
curl gives 404 Not Found
To Reproduce
Link to a small reproducer (preferably a Maven project if the issue is not Gradle-specific).
Or attach an archive containing the reproducer to the issue.
Steps to reproduce the behavior:
Configuration
Screenshots
(If applicable, add screenshots to help explain your problem.)
Environment (please complete the following information):
Output of
uname -a
orver
Output of
java -version
GraalVM version (if different from Java)
Quarkus version or git rev
Build tool (ie. output of
mvnw --version
orgradlew --version
)Additional context
(Add any other context about the problem here.)
https://github.com/quarkusio/quarkus/issues/16953
$upstream:16953$