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" />