-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
@HeaderParam annotation not detected on interface in external JAR #34408
Comments
Have you indexed the dependency in one of the methods described here? |
Yes, In Quarkus 2.X code was working, it fail after migrating to Jakarta |
In that case, please attach a sample application that exhibits the problematic behavior |
Sorry, I was recreating the problem in a new project and I discovered the problem. I supose this is normal. Sorry guys. |
Thanks for the update |
Describe the bug
The following was working in Quarkus 2.X and fails in 3.X
When an Interface defined in external JAR with Jandex
And the implementation is implemented like this:
Calling the service gives the following error:
Expected behavior
To automatically detect @HeaderParam from the interface and not fail if @HeaderParam is not added on the override method.
Actual behavior
It fails on Quarkus 3.X
How to Reproduce?
Create a dependency with the interface and Jandex index with a @HeaderParam parameter.
Add this dependency to main project.
Call the service witch has the @HeaderParam
Output of
uname -a
orver
6.2.0-20-generic #20-Ubuntu SMP PREEMPT_DYNAMIC
Output of
java -version
openjdk 17.0.7 2023-04-18
GraalVM version (if different from Java)
No response
Quarkus version or git rev
3.1.2.Final
Build tool (ie. output of
mvnw --version
orgradlew --version
)Apache Maven 3.8.1
Additional information
No response
The text was updated successfully, but these errors were encountered: