-
-
Notifications
You must be signed in to change notification settings - Fork 8.8k
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
3.8.0的 WxRedisOps 打成jar包后会启动失败 #1605
Comments
暂时把jedis加回来吧,目前的代码需要依赖,没有找到好的办法处理,如果你有,欢迎提交PR |
我总结了下,必须添加 |
确实目前依赖的是2.x版本的jedis |
目前的解决只能把 |
我觉得可以不必兼容老版本,如果想使用老版本,自行去修改实现吧 |
@binarywang 之前的结论是错的, 最后测试发现spring-boot加载
目前没有办法解决, 也就是说jdk反射机制会触发JedisPool类加载, 不确定是不是jdk的一个bug 环境:
|
3.8.0的 WxRedisOps 打成jar包后会启动失败
模块版本情况
升级3.8之前采用本地内存配置的方式启动,代码如下
升级3.8.0之后,本地已经确认移除了jedis依赖,使用 StringRedisTemplate 的方式,代码如下
日志
报错日志
The text was updated successfully, but these errors were encountered: