数据库
首页 > 数据库> > tomcat redis session共享报错 lassNotFoundException: org.apache.commons.pool.impl.GenericObjectPool$Confi

tomcat redis session共享报错 lassNotFoundException: org.apache.commons.pool.impl.GenericObjectPool$Confi

作者:互联网

jar 版本不一致导致的,给出一个可用的版本。亲自测试过
tomcat-redis-session-manager-2.0.0
commons-pool2-2.2
jedis-2.5.2
tomcat 7
Redis-x64-3.2.100
redis和三个jar包下载地址:
链接:https://pan.baidu.com/s/1dEGGQjR 密码:z4p6

content.xml配置如下;


<Valve className="com.bluejeans.tomcat.redissessions.RedisSessionHandlerValve" />
<Manager className="com.bluejeans.tomcat.redissessions.RedisSessionManager"
host="192.168.30.249"
port="6379"
database="0"
password="ray"
maxInactiveInterval="60" />

标签:GenericObjectPool,tomcat,jar,redis,commons,session,报错,版本
来源: https://blog.51cto.com/u_3423936/2769735