quarkusio / quarkus

Quarkus: Supersonic Subatomic Java.
https://quarkus.io
Apache License 2.0
13.58k stars 2.63k forks source link

dev mode - 404 Resource Not Found page available only on /XYZ when `quarkus.http.root-path=/XYZ` specified #19194

Closed rsvoboda closed 18 hours ago

rsvoboda commented 3 years ago

Describe the bug

dev mode - 404 Resource Not Found page available only on /XYZ when quarkus.http.root-path=/XYZ specified

Expected behavior

404 Resource Not Found page available only on any invalid URL in dev mode

Actual behavior

404 Resource Not Found page available only on /XYZ prefixed URLs in dev mode

How to Reproduce?

rm -rf app-generated-skeleton && mvn io.quarkus:quarkus-maven-plugin:999-SNAPSHOT:create -DprojectGroupId=my-groupId -DprojectArtifactId=app-generated-skeleton -DprojectVersion=1.0.0-SNAPSHOT -DpackageName=org.my.group

mvn -f app-generated-skeleton/pom.xml clean quarkus:dev -Dquarkus.http.root-path=/api

http://localhost:8080/foo vs. http://localhost:8080/api/foo

Output of uname -a or ver

macOS BigSur

Output of java -version

Java 11

GraalVM version (if different from Java)

No response

Quarkus version or git rev

Quarkus main a01f9ef1d7

Build tool (ie. output of mvnw --version or gradlew --version)

No response

Additional information

No response

geoand commented 19 hours ago

Is this still an issue?

rsvoboda commented 18 hours ago

This is no longer an issue, checked with Quarkus 3.14.4.

geoand commented 18 hours ago

Awesome, thanks for checking!