Skip to content

Conversation

@drow931
Copy link

@drow931 drow931 commented Jan 20, 2026

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/XmlElement
  • NoClassDefFoundError: jakarta/activation/DataSource

These 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)

  • Upgrade jakarta.xml.bind-api.version: 2.3.24.0.2
  • Upgrade jakarta.activation-api.version: 1.2.12.1.3
  • Add angus-activation.version: 2.0.2 (Jakarta Activation implementation)

Admin Module (trpc-admin-default)

  • Replace javax.ws.rs.Path with jakarta.ws.rs.Path
  • Replace NettyJaxrsServer with UndertowJaxrsServer
  • Add jakarta.activation-api and angus-activation dependencies

Testing

  • Unit tests pass
  • Admin service starts successfully without NoClassDefFoundError

Related Issues

Fixes runtime compatibility issues with RESTEasy 6.x and Jakarta EE 10.

@github-actions
Copy link

github-actions bot commented Jan 20, 2026

All contributors have signed the CLA ✍️ ✅
Posted by the CLA Assistant Lite bot.

@drow931
Copy link
Author

drow931 commented Jan 20, 2026

I have read the CLA Document and I hereby sign the CLA

@wardseptember wardseptember reopened this Jan 20, 2026
@wardseptember wardseptember merged commit 61c9bd2 into trpc-group:JDK17/Springboot3 Jan 20, 2026
7 of 10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants