Skip to main content
Filter by
Sorted by
Tagged with
0 votes
1 answer
88 views

I have a projecto that was using SpringBoot 3.3.0 with Jackson2 dependency, after I changed to SpringBoot 4.0.2 with Jackson3 dependency the code stop to work. Jackson2: import com.fasterxml.jackson....
Aldo Inácio da Silva's user avatar
0 votes
1 answer
106 views

I have test method using mockito 5 @Test public void test_increaseUserScore_Successful() throws CannotCreateCachedUserException { when(cachedUserRepository .existsById(...
JZARGO's user avatar
  • 19
0 votes
0 answers
68 views

I am using redis-om-spring:1.0.4 with spring boot 3.4.10 for getting @Document support. I have some class like @Setter @Getter class Vehicle { @Id private String id; ...
Stanislav's user avatar
  • 451
1 vote
1 answer
240 views

I am setting up a Spring Boot 3 application (using Gradle and Java 17) with Redis Sentinel and the Lettuce client (non-reactive, with RedisTemplate). Our infrastructure team has provided a Redis ...
user31695579's user avatar
1 vote
1 answer
40 views

I have this cache @Cachable(cacheName = CACHE_MY_CACHE, key="#param", sync=true) public Object doStuff(String param){ ... } Which is using Redis in the background so it's distributed ...
David S's user avatar
  • 319
1 vote
0 answers
72 views

I’m using Redis OM Spring with a simple repository: @Document(value = "Marker", indexName = "MarkerIdx") data class RedisMarker( //other indexed @Indexed ...
Pawandeep Singh's user avatar
0 votes
1 answer
126 views

I am using spring session for redis for my oauth2 login. I have implemented a custom principal. @Data @NoArgsConstructor @JsonIgnoreProperties(ignoreUnknown = true) public final class ...
Allen Bastian's user avatar
-4 votes
1 answer
127 views

I want to use spring-boot-starter-data-redis with custom configuration properties: redis: host: localhost port: 6379 password: pass timeout: 5000 It's working only when I use: spring: ...
Peter Penzov's user avatar
  • 1,222
0 votes
1 answer
108 views

I am using spring-data-redis (version 3.5.0-M2). This is my entity class: @RedisHash("Embedding") @Data @NoArgsConstructor @AllArgsConstructor public class Embedding { @Id private ...
Akshit Bansal's user avatar
1 vote
0 answers
188 views

Here's my basic example setup: private final RedisTemplate<String, Object> redisTemplate; public void save(Object thing, Instant expiresAt) { redisTemplate.execute(new SessionCallback<...
OrangeDog's user avatar
  • 39.4k
1 vote
1 answer
859 views

I'm using LettuceConnection with a connection pool to connect my application to a Redis server. However, during load testing, I encountered a significant number of command timeout errors. Initially, I ...
Thanyares Permpongpaiboon's user avatar
2 votes
2 answers
163 views

I've got this exception. java.lang.ClassCastException: class java.lang.Integer cannot be cast to class java.lang.Long (java.lang.Integer and java.lang.Long are in module java.base of loader 'bootstrap'...
박수민's user avatar
0 votes
1 answer
37 views

When I am inserting object to redis, I am using spring annotation and when I try to get the object I am using redis template implementation. While doing so, I am getting exception. Below is the spring ...
Happs's user avatar
  • 125
0 votes
2 answers
154 views

In my Spring Boot environment I was testing some API. From Service I am returning ResponseEntity. However when I try to collect its body in controller class, I am getting exception. Service class ...
JPG's user avatar
  • 1,271
0 votes
1 answer
243 views

Couldn't find any way how to integrate spring-data-redis with Microsoft Entra ID authentication. Seems RedisTemplate can work only with RedisConnectionFactory which doesn't support connection through ...
Gekster's user avatar
  • 111

15 30 50 per page
1
2 3 4 5
70