Quarkus REST. @Path conflict #43065
Labels
env/windows
Impacts Windows machines
kind/bug
Something isn't working
triage/duplicate
This issue or pull request already exists
Describe the bug
I have two resources (see example code below):
One of them specifies some path prefix for all it's method on the class level (for example
/admin
).The other has no class level prefix, but has one method with same prefix (for example
/admin/hello
).For some reasons
/admin/hello
is not resolved by Quarkus and when I call this url I get error 404.Expected behavior
I expect that both types of urls work. (Such cases work pretty fine in Spring for example)
If it's not expected to work this way it would be good to have some compile or startup error.
Actual behavior
Only endpoint from resource with class level prefix works.
How to Reproduce?
Output of
uname -a
orver
Microsoft Windows [Version 10.0.22631.4037]
Output of
java -version
Amazon Corretto 21.0.1
Quarkus version or git rev
3.14.2
Build tool (ie. output of
mvnw --version
orgradlew --version
)gradle 8.10
Additional information
By the way Quarkus Dev UI shows that both endpoints are available.
The text was updated successfully, but these errors were encountered: