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

保存null值到缓存,get的时候报错 2.3.5-release #6

Open
jkin3305 opened this issue Nov 26, 2020 · 1 comment
Open

保存null值到缓存,get的时候报错 2.3.5-release #6

jkin3305 opened this issue Nov 26, 2020 · 1 comment

Comments

@jkin3305
Copy link

Exception in thread "main" java.lang.ClassCastException: java.lang.Object cannot be cast to java.io.Serializable

代码:
public static void main(String[] args) { CacheChannel channel = J2Cache.getChannel(); channel.set("region","key",null,true); System.out.println(channel.get("region","key")); }

@jkin3305 jkin3305 changed the title 保存null值到缓存,get的时候报错 保存null值到缓存,get的时候报错 2.3.5-release Nov 26, 2020
@jkin3305
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

1 participant