Reason for putting it first: [version incompatibility]
Exception:
Caused by: org.springframework.beans.BeanInstantiationException: Failed to instantiate [redis.client.RedisClient]: Factory method ‘redisClient’ threw exception; nested exception is java.lang.IllegalArgumentException: port out of range:-1
Port out of range: – 1
Solution:
Find a private blog in the vast sea of articles, and modify the reisson version, Cao, under the tips of the boss’s post
Finally, reload pom.xml again
Redis based distributed lock implementation in springboot (via redisson)
Similar Posts:
- [Solved] #Creating Server TCP listening socket *:6379: bind: Address already in use
- How to Solve Jedis Error: java.lang.ClassCastException: java.lang.Long cannot be cast to [B
- This account is currently not available [How to Solve]
- Execute the Jmeter Script Error: .org.apache.http.conn.httphostconnectexception: XXXX failed: unable to specify the solution of the requested address (Connect failed)
- Filebeat output redis i/o timeout [How to Solve]
- Could not open lock file/var/lib/dpkg/lock [How to Solve]
- [Solved] SpringBoot Access Redis Error: java.lang.NoSuchMethodError: redis.clients.jedis.JedisPoolConfig.setMinEvictableIdleTime
- Error reported in the celery log of the project: redis.exceptions.connectionerror failed to connect with redis
- Vsftp: 425 FTP connection failed [How to Solve]
- Java.net.noroutetohostexception: cannot assign requested address