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 [[email protected] bin]# ip addr to see the ip address
Just change the configuration file
- Redis cannot double-click redis-server.exe to start normally
- Springboot connects to the database error: testWhileIdle is true, validationQuery not set
- Error creating bean with name ‘redistemplate’ defined in class path resource
- How to Solve Error: Cannot find the declaration of element ‘beans’.
- When integrating redis with SSM framework, error creating bean with name ‘rediscontentserviceimpl’ defined in file
- [How to Solve] java.lang.IllegalArgumentException: Request header is too large
- Servlet.service() for servlet [dispatcherServlet] in context && Whitelabel Error Page
- g++: internal compiler error: Killed (program cc1plus) Please submit a full bug report, with preprocess
- Weblogic Start Error: weblogic.management.DeploymentException: weblogic.management.DeploymentException:
- How to Fix Failed to load resource: the server responded with a status of 404()
- [Solved] Error in integrating redis with springboot: unable to connect to redis
- [Solved] Springboot Error creating bean with name ‘dataSource’ defined in class path resource
- SpringBoot startup error Failed to determine a suitable driver class
- POI Export Excel Error: HTTP Status 500 – Request processing failed; nested exception is java.lang.NullPointerException
- How to Solve Gradle Error: Plugin with id ‘jetty’ not found.
- How to Solve Redis Cluster Error: (Error) Moved
- Springboot configuration project access path URL root path
- Windows: Nginx configuration error GetFileAttributesEx
- Causes of error in data transmission from spring boot to JSON
- Redis installation error: jemalloc/jemalloc.h: No such file or directory.