I have migrated my java application to spring boot 4 and java 25. When I try run, the following error faced:

Image

Debugging the error, I realized the class RedisReactiveAutoConfiguration does not exist anymore, but the new class named DataRedisReactiveAutoConfiguration. In GatewayRedisAutoConfiguration class, it's has used RedisReactiveAutoConfiguration, as you can see:

Image

Comment From: wilkinsona

You need to upgrade Spring Cloud Gateway. 5.0.0 refers to the correct class.