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

运行这个代码有一个bug,不知道是我环境的原因还是其他 #1

Open
sunyu2001 opened this issue Oct 29, 2024 · 2 comments

Comments

@sunyu2001
Copy link

class com.alibaba.fastjson.JSONObject cannot be cast to class com.tangrl.pan.server.modules.user.entity.RPanUser (com.alibaba.fastjson.JSONObject and com.tangrl.pan.server.modules.user.entity.RPanUser are in unnamed module of loader 'app')

在运行userCacheService,通过id获取RPanUser时,我想问问作者遇到这个错误了没,如果没有您的环境是什么样的配置?如果有,您是怎么解决的? 出现这个错误时,我的运行环境是jdk19,maven3.9.8;我尝试使用jdk8运行该项目,会出现错误
Cannot find any provider supporting RSA/ECB/OAEPWithSHA-1AndMGF1Padding 。如果有空的话,麻烦您答疑解惑,不胜感激。

@rongliangtang
Copy link
Owner

最好用jdk8运行,其他版本的jdk我没有试过

你这个错误应该是密码学库有问题,你可以粘贴完整的报错,问问gpt

@sunyu2001
Copy link
Author

好的好的,非常感谢

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