Parameter org.springframework.data.mapping.Parameter does not have a name
Redis 에
@RedisHash tag 를 사용하여 저장후 조회시
Failed to retrieve key from Redis: Parameter org.springframework.data.mapping.Parameter@ does not have a name
이런 에러가 발생했습니다.
챗지피티한테 물어봤더니
이런 해결책을 주었지만 그래도 해결이 되지 않았습니다.
구글 서치 결과
spring-boot-starter-data-redis "data.mapping.Parameter does not have a name error" when upgrade spring boot from 3.1 to 3.2
After updating Spring Boot from 3.1 to 3.2, I followed the instructions to add the -parameters flag for Java compilation. Despite this, I'm still encountering the same error, indicated by the stack...
stackoverflow.com
이런 글이 있었고
이 두 어노테이션을 추가했더니 해결이 되었습니다.
+ 관련해서 읽어보면 좋을 글
Spring 6.1에서 변경된 Parameter Name Retention
Spring 6.1에서 변경된 Parameter Name Retention에 대해서 알아보고 어떻게 대처할 수 있는지 살펴봅니다
www.korecmblog.com