The error message is as follows.
Severe :Servlet.service() for servlet [dispatcherServlet] in context with path [] threw exception [Request processing failed; nested exception is org.springframework.data.redis. RedisConnectionFailureException: Cannot get Jedis connection; nested exception is redis.clients.jedis.exceptions. JedisConnectionException: Could not get a resource from the pool] with root cause
Because the ip address on the linux system in the virtual machine has changed, the configuration file in springboot has forgotten to change it.
Enter [root@localhost bin]# ip addr to see the ip address
Just change the configuration file
spring.redis.host=
Read More:
- Springboot integrates redis factory method ‘redisconnectionfactory’ threw exception; nested exception is
- Spring Connect Redis Error: Error in execution; nested exception is io.lettuce.core.RedisCommandExecutionException: MOVED 12910 172.16.4.99:6379
- [Solved] Error in integrating redis with springboot: unable to connect to redis
- Redis Exception | DENIED Redis is running in protected mode because protected mode is enabled
- [Solved] Redis—-(error) MISCONF Redis is configured to save RDB snapshots
- Redis cannot double-click redis-server.exe to start normally
- [Solved] SpringBoot integration with Redis error: java.net.ConnectException: Connection refused: no further information
- [Solved] redis.exceptions.ResponseError: unknown command `KEYS`
- [Solved] jedis Connect redis Error: connect timed out
- [Solved] Redis Execute redis-cli shutdown Error: (error) ERR Errors trying to SHUTDOWN. Check logs.
- [Solved] Redis Cache Error: org.springframework.data.redis.serializer.SerializationException: Could not read JSON..
- Springboot connects to the database error: testWhileIdle is true, validationQuery not set
- [Solved] Mac starts redis error: there is no specified conf file
- [Solved] (error) MISCONF Redis is configured to save RDB snapshots, but is currently not able to persist on disk.
- Redis use command access exception: (error) noauth authentication required
- [Solved] swagger3 Error: org.springframework.context.ApplicationContextException: Failed to start bean ‘documentationPluginsBootstrapper’; nested exception is java.lang.NullPointerException
- NestedServletException, Handler dispatch failed; nested exception is java.lang.StackOverflowError [Solved]
- POI Export Excel Error: HTTP Status 500 – Request processing failed; nested exception is java.lang.NullPointerException
- How to Solve Redis Cluster Build Error
- Request processing failed; nested exception is com.alibaba.fastjson.JSONException: can not cast to J