Java的springboot整合redis,前面的时候引用没有问题,同样的配置类,但是今天使用springboot2.2.5.RELEASE的时候 ,项目启动突然就报错ClassNotFoundException: io.netty.util.internal.logging.InternalLoggerFactory
折腾半天,引入下面的依赖,解决问题
<dependency> <groupId>io.netty</groupId> <artifactId>netty-common</artifactId> <version>4.1.38.Final</version> <scope>test</scope> </dependency>