springboot启动报错:
Correct the classpath of your application so that it contains compatible versions of the classes org.springframework.boot.autoconfigure.data.redis.LettuceConnectionConfiguration$PoolBuilderFactory and org.apache.commons.pool2.impl.GenericObjectPoolConfig
排查发现:pom依赖同时引用了两个不同版本的web包。
删掉一个web依赖重新构建以后问题直接解决。