簡體   English   中英

如何使用Redis或Memcached配置tomcat6或7共享會話?

[英]How to use redis or memcached to configure tomcat6 or 7 sharing session?

我想使用redis或memcached來配置tomcat 6或7共享會話,但是我總是配置失敗。 當我使用memcached時,它說:java.lang.VerifyError:class de.javakaffee.web.msm.MemcachedBackupSessionManager覆蓋最終方法init。()V,當我使用Redis時,它說:java.lang.NoClassDefFoundError:org / apache / commons / pool / impl / GenericObjectPool $ Config。

是否有人成功配置了此功能? 請幫助我,告訴我您的配置文件,非常感謝!

java.lang.NoClassDefFoundError:org/apache/commons/pool/impl/GenericObjectPool$Config

那是一個類路徑問題; 您是否為Apache Commons配置了此依賴項?

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM