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

Springboot3版本supportMethodsArguments参数失效 #798

Closed
1 task done
liukai237 opened this issue Jan 9, 2024 · 2 comments
Closed
1 task done

Springboot3版本supportMethodsArguments参数失效 #798

liukai237 opened this issue Jan 9, 2024 · 2 comments
Labels

Comments

@liukai237
Copy link

liukai237 commented Jan 9, 2024

  • 我已在 issues 搜索类似问题,并且不存在相同的问题.

使用环境

  • PageHelper 版本: 6.1.0

问题描述

PageObjectUtil中:

requestClass = Class.forName("javax.servlet.ServletRequest");

实际已经变为jakarta.servlet.ServletRequest

功能建议

希望增加判断条件,兼容新的Servlet版本

@abel533
Copy link
Collaborator

abel533 commented Jan 10, 2024

可以同时判断这两种情况,有第一个就用,报错就尝试第二种。来个PR?

@abel533
Copy link
Collaborator

abel533 commented Jan 30, 2024

#804 已实现。

@abel533 abel533 closed this as completed Jan 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants