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

4.1.8有fastjson升级后有问题,提示这个错误 #118

Open
billpig opened this issue Aug 27, 2024 · 3 comments
Open

4.1.8有fastjson升级后有问题,提示这个错误 #118

billpig opened this issue Aug 27, 2024 · 3 comments

Comments

@billpig
Copy link

billpig commented Aug 27, 2024

8月 27, 2024 3:37:40 下午 io.jboot.support.redis.jedis.JbootJedisImpl error
严重: Failed connect to redis, reconnect it.
java.lang.ClassCastException: class com.alibaba.fastjson.JSONObject cannot be cast to class io.jboot.components.cache.caredis.JbootCaredisMessage (com.alibaba.fastjson.JSONObject and io.jboot.components.cache.caredis.JbootCaredisMessage are in unnamed module of loader 'app')
at io.jboot.components.cache.caredis.JbootCaredisCacheImpl.onMessage(JbootCaredisCacheImpl.java:254)
at io.jboot.components.cache.caredis.JbootCaredisCacheImpl$1.onMessage(JbootCaredisCacheImpl.java:73)
at io.jboot.components.cache.caredis.JbootCaredisCacheImpl$1.onMessage(JbootCaredisCacheImpl.java:70)
at redis.clients.jedis.JedisPubSubBase.process(JedisPubSubBase.java:139)
at redis.clients.jedis.JedisPubSubBase.proceed(JedisPubSubBase.java:92)
at redis.clients.jedis.Jedis.subscribe(Jedis.java:3790)
at io.jboot.support.redis.jedis.JbootJedisImpl$2.run(JbootJedisImpl.java:1524)

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

4 participants
@billpig and others