Caused by: java.lang.IllegalStateException: A unix domain socket connection requires epoll or kqueue and neither is available
Caused by: java.lang.IllegalStateException: A unix domain socket connection requires epoll or kqueue and neither is available
出现这个错误,首先确保自己的操作系统是否支持epoll,或者kqueue。
如果支持。请导入netty的大库,lettuce中好像缺失了一部分,我怀疑是

这是怀疑,不知道缺netty哪部分的话直接全部导入
<!-- https://mvnrepository.com/artifact/io.netty/netty-all -->
<dependency>
<groupId>io.netty</groupId>
<artifactId>netty-all</artifactId>
<version>4.1.104.Final</version>
</dependency>

浙公网安备 33010602011771号