-
Notifications
You must be signed in to change notification settings - Fork 357
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
Test failures after migration to Jersey 3.1.1 #5295
Comments
It's more a fixed bug, Jersey 2.x and 3.0.x did not support Right, we should mention it in doc. |
Hi, In Jakrta ws.rs-api @ApplicationPath("/*") is used to annotate the application path. I think there should be a validation for this also! or is there a version which addressed this issue? |
Hi
We've just migrated from Jersey 3.0.3 to 3.1.1 and noticed that most of our Jersey-related integration tests started failing with 404 error.
Our investigation figured out that cause of this issue is this commit - a83c7cd
Previously Jersey Grizzly 2 container didn't use path value from @ApplicationPath so we provided "orders" relative path in the tests using WebTarget object.
But in Jersey 3.1.x application path is actually used:
So we have to update tests and include application path: "api/orders".
This seems to be breaking change but it's never mentioned in the Jersey documentation ("Migration Guide" section) - https://eclipse-ee4j.github.io/jersey.github.io/documentation/latest31x/migration.html
The text was updated successfully, but these errors were encountered: