Resolving RedisTemplate Data Retrieval Issues in Java
Caused by: com.fasterxml.jackson.databind.exc.InvalidTypeIdException: Missing type id when trying to resolve subtype of [simple type, class java.lang.Object]: missing type id property '@class'
at [Source: (byte[])"{"name":"测试","phone":"123","idCard":"12345","channelCode&quo ...
Posted on Fri, 21 Aug 2026 16:27:23 +0000 by reyes99
Using Redis with Spring Boot in IntelliJ IDEA
Core Data Types in Redis
1. Strings
Strings are the most basic data type — a key maps directly to a value. They can store text, numbers, or serialized objects.
SET key value — Assign a value to a key.
GET key — Retrieve the value associated with the key.
SETEX key seconds value — Set a key with an expiration time in seconds.
SETNX key value — ...
Posted on Sun, 21 Jun 2026 16:34:41 +0000 by jmicozzi