Skip to content
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

[feat] trpc-springmvc JDK 21 is not supported #74

Open
Qi382 opened this issue Jan 10, 2025 · 1 comment
Open

[feat] trpc-springmvc JDK 21 is not supported #74

Qi382 opened this issue Jan 10, 2025 · 1 comment

Comments

@Qi382
Copy link

Qi382 commented Jan 10, 2025

I'm currently using the module of trpc-spring-mvc.

However, I've found that TRpcServiceHandlerMapping references javax.servlet.http.HttpServletRequest, which will cause a ClassNotFoundException on JDK 21.

Caused by: java.lang.ClassNotFoundException: javax.servlet.http.HttpServletRequest

I'd like to ask if there are any upgrade or compatibility plans.

see trpc-spring-support/trpc-springmvc/src/main/java/com/tencent/trpc/springmvc/TRpcServiceHandlerMapping.java#L28

@wardseptember
Copy link
Collaborator

这个问题我们也在调研如何更好的兼容,目前线上使用最多的jdk8,其次是jdk11。这个问题后续会解决的

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

No branches or pull requests

2 participants