Skip to content
This repository was archived by the owner on May 31, 2022. It is now read-only.
This repository was archived by the owner on May 31, 2022. It is now read-only.

MethodNotFoundException occurred while store token with redis #1230

Closed
@rieonke

Description

@rieonke

the exception was

Handling error: NestedServletException, Handler dispatch failed; nested exception is java.lang.NoSuchMethodError: org.springframework.data.redis.connection.RedisConnection.set([B[B)V

Env:

  • Spring Boot M6
  • Spring Data Redis 2.0.1.RELEASE
  • Spring Cloud Finchley.M4

Code throws which throws exception blow:
line 157 conn.set(accessKey, serializedAccessToken);

https://github.com/spring-projects/spring-security-oauth/blob/0c034e4dfac53c6f736a3d7e858bae37328e0fab/spring-security-oauth2/src/main/java/org/springframework/security/oauth2/provider/token/store/redis/RedisTokenStore.java#L154-L163

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions