Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

[QUESTION]从1.2.XX版本升级到到2.0.4版本 cannot be cast to org.springframework.security.core.GrantedAuthority #354

Closed
jmake-zxb opened this issue May 26, 2022 · 2 comments
Labels
question Further information is requested
Milestone

Comments

@jmake-zxb
Copy link

如题
java.lang.ClassCastException: com.alibaba.fastjson2.JSONObject cannot be cast to org.springframework.security.core.GrantedAuthority

@jmake-zxb jmake-zxb added the question Further information is requested label May 26, 2022
@wenshao wenshao added this to the 2.0.5 milestone May 26, 2022
@wenshao
Copy link
Member

wenshao commented May 28, 2022

https://github.com/alibaba/fastjson2/releases/tag/2.0.5
问题已修复,请用新版本

@wenshao wenshao closed this as completed May 28, 2022
@liyuu127
Copy link

2.0.10 还是发生这个错误,有解决方案么,试了不同的环境,相同版本的ide和jdk有的会发生有的不会发生

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

3 participants