腾讯云
开发者社区
文档
建议反馈
控制台
登录/注册
首页
学习
活动
专区
圈层
工具
MCP广场
文章/答案/技术大牛
搜索
搜索
关闭
发布
文章
问答
(9999+)
视频
沙龙
1
回答
使用
spring
boot
data
redis
连
接到
redis
集群
的
问题
spring-boot
、
spring-data-redis
、
lettuce
我
使用
spring
boot
data
redis
连
接到
redis
集群
,
使用
版本2.1.3配置如下: @Beanpublic RedisConnectionFactory myLettuceConnectionFactory嗯,这似乎是生菜
的
问题
,How to map remote host & port to localhost using Lettuce,但我不知道如
浏览 12
提问于2019-03-18
得票数 0
回答已采纳
2
回答
莴苣不能
使用
SSL连
接到
Redis
集群
,但可以
使用
SSL连
接到
同一个
Redis
服务器,方法是将它作为独立
的
节点
java
、
ssl
、
spring-data-redis
、
redis-cluster
、
lettuce
我有一个为
Redis
-高级和
集群
启用
的
Azure缓存。我一直试图
使用
spring
-
boot
-starter-
data
-
redis
(
spring
引导版本:2.3.4.RELEASE,Java:11)和
使用
莴苣客户端连
接到
那个
Redis
,但是当我将我
的
Redis
作为一个
Redis
集群
处理时,莴苣抛出了下面的SS
浏览 7
提问于2020-10-09
得票数 6
1
回答
如何在
使用
redis
和
spring
数据缓存时启用分布式/
集群
缓存
spring-boot
、
redis
、
spring-data
、
spring-data-redis
、
spring-cache
Redis
配合
spring
-
boot
缓存
使用
时,如何开启分布式/
集群
缓存。 尤其是在通过
spring
-
boot
-starter-
data
-
redis
使用
Redis
时
浏览 0
提问于2020-09-20
得票数 0
3
回答
测试时关闭
spring
boot
中
的
Redis
AutoConfig
java
、
spring
、
spring-boot
、
redis
、
spring-data-redis
当我
使用
spring
boot
进行测试时,我正在尝试禁用
Redis
。我已经禁用了我
的
配置,但是自动配置创建了一个默认连接,并且失败了,因为它不能连
接到
不存在
的
服务。对于测试,我满足于只
使用
基本
的
内存缓存或无操作缓存。这也不起作用。以下是我尝试过
的
方法:
spring
.autoconfigure.exclude=org.springfr
浏览 26
提问于2017-08-31
得票数 6
1
回答
使用
spring
-
data
-
redis
1.7.0.M1时如何配置
redis
-cluster
redis
、
spring-data-redis
、
redis-cluster
我
使用
spring
-
data
-
redis
版本1.7.0.M1和jedis版本2.8.0,这是我
的
配置 <property name="keyS
浏览 0
提问于2016-02-18
得票数 4
回答已采纳
3
回答
Redis
连接失败
spring
、
maven
、
spring-boot
、
redis
我想
使用
Redis
来操作sessions.But --我在运行
spring
app.So时失败了--我猜这个错误来自于maven依赖关系,尤其是版本冲突。它
的
类org.springframework.
data
.
redis
.connection.RedisConnection,可从以下位置获得: jar:file:/C:/Users/aoutir/.m2/repository/org/springframework
浏览 2
提问于2018-10-07
得票数 3
回答已采纳
1
回答
spring
boot
与外部tomcat容器
的
Redis
会话
的
最佳用法是什么
java
、
spring
、
spring-boot
、
tomcat
、
redis
我正在
使用
带有tomcat容器
的
spring
boot
框架,由于维护此服务
的
几个原因,我尝试与
Redis
共享会话。通常,我
使用
spring
-session-
data
-
redis
,这是按照指南推荐
的
。https://www.baeldung.com/
spring
-session 但是,我有一个关于
使用
spring
-se
浏览 16
提问于2020-09-29
得票数 0
1
回答
Spring
2从
Spring
1.5迁移到
redis
的
问题
java
、
spring
、
spring-boot
、
tomcat
、
redis
我需要修改
Redis
代码,以便它可以
使用
新
的
SpringBoot 2.0.3,当前启动Tomcat9.0.12时(不是因为业务需要启动SpringBoot ),我得到以下错误: <dependency> <artifactId>
浏览 4
提问于2018-10-19
得票数 5
回答已采纳
1
回答
在
spring
-
data
-
redis
中定义
集群
节点属性
的
替代方法
spring-boot
、
spring-data-redis
、
missing-features
我试着在我
的
项目中
使用
春数据红。在yaml文件中配置
redis
节点时,如下所示:
redis
: max-redirects: 2然后,
spring
在内部为
集群
创建JedisConnectionFactory。我猜当前版本
的
spring
不支持yaml中以数组方式表示节点
的</em
浏览 4
提问于2017-03-23
得票数 2
回答已采纳
1
回答
弹簧引导没有连
接到
redis
码头集装箱
spring-boot
、
docker
、
redis
我试图将
Spring
应用程序连
接到
我
的
停靠程序中
的
redis
实例上,我已经配置了主机本地主机和端口16379,但是发生了一些奇怪
的
事情,缓存可以工作,但是当我看到
redis
键是空
的
时,所以认为
Spring
使用
的
是嵌入式
redis
实例。我
的
pom.xml <groupId>org.spring
浏览 3
提问于2022-10-04
得票数 0
回答已采纳
1
回答
Spring
Boot
2.5.4应用程序中
的
ClassNotFoundException while JedisClient初始化
java
、
spring-boot
、
redis
、
spring-data-redis
、
jedis
我有一个
Spring
Boot
2.5.4应用程序,我想在其中添加
Redis
并通过
Spring
Data
Redis
访问它。我当前
的
配置如下所示: pom.xml <?> <artifactId>
spring
-
boot
-starter-
dat
浏览 360
提问于2021-09-08
得票数 0
1
回答
Redis
命令超时;嵌套异常为io.lettuce.core.RedisCommandTimeoutException:命令在1分钟后超时
java
、
redis
今天,当我
使用
Java
redis
client(
spring
-
data
-
redis
-2.3.9.RELEASE.jar)消费
Redis
流消息时,会遇到这个错误: 2021-05-11 17:49:42.134228) ~[
spring
-
data
-
redis
-2.3.9.RELEASE.jar!188) ~[
spring
-
data
-
redis
-2.3.9.RELEASE.jar!我
浏览 1814
提问于2021-05-11
得票数 1
回答已采纳
5
回答
如何
使用
redis
使用
spring
-security-oauth2持久化令牌
java
、
spring-mvc
、
spring-security
、
oauth
、
redis
这是我第一次
使用
OAuth2方法开发应用程序。我是基于某些教程开始
的
,现在我将从这个教程()开始。我会将应用程序部署到
集群
WebSpheres,因此,据我所知,内存中将不会工作(...clients.inMemory().withClient ...)。我想
使用
Redis
(我也是第一次
使用
),但我有点困惑如何在某些无xml
的
java配置应用程序中设置它。 我在xml中发现了一些类似的
问题
,但我仍然不知道第一次尝试
的
方向()。有趣<e
浏览 11
提问于2017-02-25
得票数 5
1
回答
无法在
Spring
中
使用
Redis
确定数据库类型NONE
的
嵌入式数据库驱动程序类
java
、
spring
、
spring-boot
、
redis
我
使用
Spring
和
redis
。我添加了pom.xml <groupId>org.springframework.
boot
</groupId> <artifactId>
spring
-
boot
-starter-
redis
<artifactId>
spring
-
data
-
redis
<
浏览 2
提问于2017-07-02
得票数 0
回答已采纳
1
回答
spring
-
data
-
redis
与
Spring
3兼容吗?
java
、
spring-mvc
、
redis
我一直在互联网上寻找如何配置
Spring
3和
redis
,但都是徒劳
的
。我想用
Spring
3
连
接到
redis
。 我用过弹簧引导和弹簧数据处理,一切都很好。我可以连
接到
redis
和存储会话。但我目前正在从事
的
项目是基于遗产
的
。它
使用
spring
3,但我相信
spring
-
data
-
redis
与
sprin
浏览 0
提问于2019-08-26
得票数 1
1
回答
Package org.apache.Commons.pool 2.impl不存在
java
、
maven
、
redis
、
maven-install
当我
使用
这个maven项目时,mvn install。错误提示 <dependency><groupId>org.springframework.
boot
</groupId> <artifactId>
spring
-
boot
-starter-
data
-
浏览 2
提问于2022-07-15
得票数 0
2
回答
在
spring
boot
2.3.x中
使用
Jedis 3.6.0时不支持流
java
、
redis
这是我在Gradle中定义
的
依赖项,此代码强制
使用
Jedis
的
3.6.0版本: resolutionStrategy { eachDependency { DependencyResolveDetails我尝试这样升级我
的
spring
data
版本,如下所示: api ("org.springframework.
boot
:
spring
-
boot
-starter-
data
-
re
浏览 420
提问于2021-05-11
得票数 0
回答已采纳
1
回答
如何
使用
Redis
缓存在java
spring
引导应用程序中存储数据?
java
、
amazon-web-services
、
spring-boot
、
redis
、
redis-cache
我已经在AWS帐户中运行了
Redis
Cache实例。如何
使用
redis
实例,
使用
java代码中
的
redis
实例端点来存储数据。 我不知道如何从java中
的
开始。请帮我解决这个
问题
。
浏览 2
提问于2021-11-25
得票数 0
回答已采纳
1
回答
无法从部署在同一
集群
中
的
golang应用程序连
接到
kubernetes上
的
redis
群集
docker
、
go
、
kubernetes
、
kubernetes-helm
、
redis-cluster
我在Kubernetes上部署了一个具有bitnami图表()
的
redis
集群
。通过运行以下命令,我可以从Kubernetes
集群
内成功地连
接到
Redis
集群
: kubectl run my-
redis
-release-client --rm -it --image docker.iogolang应用程序连
接到
redis
集群
。我在golang应用程序中
使用
的
<em
浏览 1
提问于2020-08-12
得票数 0
1
回答
Spring
Boot
2无法连
接到
Redis
spring-boot
、
redis
、
spring-data-redis
我正在尝试在
Spring
Boot
2和
Spring
Data
Redis
(都是最新版本)上
使用
Lettuce驱动程序。我无法连
接到
Redis
,一直收到以下错误: at java.net.URLClassLoader.findClassconfig
spring
.
redis</em
浏览 2
提问于2018-05-06
得票数 1
点击加载更多
热门
标签
更多标签
云服务器
ICP备案
对象存储
云点播
即时通信 IM
活动推荐
运营活动
广告
关闭
领券