[Solved] java.lang.IllegalAccessError: class org.springframework.data.redis.core.$ Proxy237 cannot access its superinterface org.springframework.data.redis.core.RedisConnectionUtils$RedisConnectionProxy

[resolved]

java.lang.IllegalAccessError: class org.springframework.data.redis.core.$ Proxy237 cannot access its superinterface org.springframework.data.redis.core.RedisConnectionUtils$RedisConnectionProxy

In the serviceImpl class operation redis reported the above error, after investigation found that the cause is in the (with write operation [@Transactional (readOnly = false)]) transaction method of operation redis, in the readOnly = true transaction method can be operated normally

ps: other versions of redis do not know if there is also this situation for the time being

solution: the operation of redis to get @Transactional (readOnly = false) method outside the operation can be

Read More: