-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
RestIT test works with (jakarta.ws.rs.core.MediaType) Hal#APPLICATION_HAL_JSON_TYPE
#3561
Comments
Hi @yanavasileva, |
@punitdarira, when you are in the root of the mono repo try running the following:
|
@yanavasileva , |
@punitdarira make sure to drop all of local changes that you have (might be related to some changes that you worked on). Also use JDK 17 and Maven 3.8.6. If none of that works, please share the stack trace and the output of the maven execution, I am not sure to what might be related. |
stacktrace.txt |
@yanavasileva , |
|
I am not sure, I wrote that a note to try out "rewrite the tests to not use the jersey apache client 4". So my suspect at the time was the client.
Maybe, I am not sure without exploring the option in detail. We need to keep in mind that the test should work with all supported environments.
Debugging and checking the class loaders. Due to time restrictions, I didn't get to the bottom of the issue, therefore this open ticket. |
After update to Spring Boot 3, RestIT started to fail with
NoSuchFieldError: APPLICATION_HAL_JSON_TYPE
. Due to unresolved dependency issue (javax/jakarta
), we decided to simplify the rest and avoid using theMediaType
type (#3441 (comment)).Error details
Acceptance Criteria (Required on creation)
Hal
class andMediaType
can be resolved correctly in the Spring Boot integration test setupHints
Links
spring-boot-starter
modules to Spring Boot 3.1 #3441Breakdown
Pull Requests
Dev2QA handover
The text was updated successfully, but these errors were encountered: