一 再docker启动镜像文件,异常:
老项目,启动异常:
Caused by: org.springframework.beans.BeanInstantiationException: Failed to instantiate [com.lambdaworks.redis.api.async.RedisAsyncCommands]: Factory method 'createAsyncRedisClient' threw exception; nested exception is java.lang.NoSuchMethodError: io.netty.util.internal.MathUtil.safeFindNextPositivePowerOfTwo(I)I
at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:189) ~[spring-beans-4.2.5.RELEASE.jar:4.2.5.RELEASE]
at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:588) ~[spring-beans-4.2.5.RELEASE.jar:4.2.5.RELEASE]
... 74 common frames omitted
Caused by: java.lang.NoSuchMethodError: io.netty.util.internal.MathUtil.safeFindNextPositivePowerOfTwo(I)I
at io.netty.buffer.PoolThreadCache$Memory