操作步骤
,在tomcat的context.xml加入
把上面的jar放入,tomcat的lib目录下面。自已已经已经成功。
按照别人的说法,出现java.lang.ClassNotFoundException: com.orangefunction.tomcat.redissessions.RedisSessionHandlerValve 这个错误。
<Valve className="com.orangefunction.tomcat.redissessions.RedisSessionHandlerValve" />
<Manager className="com.orangefunction.tomcat.redissessions.RedisSessionManager"
host="192.168.25.129"
port="6379"
password="redis"
database="0"
maxInactiveInterval="60" />