trpc-admin: migrate junit4 to junit5 and upgrade resteasy #118
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Summary
Upgrade Jakarta EE dependencies from Jakarta EE 8 to Jakarta EE 10 to fix compatibility issues with RESTEasy 6.x.
Problem
When using RESTEasy 6.2.15.Final, the following runtime errors occurred:
NoClassDefFoundError: jakarta/xml/bind/annotation/XmlElementNoClassDefFoundError: jakarta/activation/DataSourceThese errors were caused by version mismatches between RESTEasy 6.x (which requires Jakarta EE 10) and the existing Jakarta EE 8 dependencies.
Changes
BOM (
trpc-dependencies-bom/pom.xml)jakarta.xml.bind-api.version:2.3.2→4.0.2jakarta.activation-api.version:1.2.1→2.1.3angus-activation.version:2.0.2(Jakarta Activation implementation)Admin Module (
trpc-admin-default)javax.ws.rs.Pathwithjakarta.ws.rs.PathNettyJaxrsServerwithUndertowJaxrsServerjakarta.activation-apiandangus-activationdependenciesTesting
NoClassDefFoundErrorRelated Issues
Fixes runtime compatibility issues with RESTEasy 6.x and Jakarta EE 10.