<rt id="bn8ez"></rt>
<label id="bn8ez"></label>

  • <span id="bn8ez"></span>

    <label id="bn8ez"><meter id="bn8ez"></meter></label>

    KK

    Kim-'s-Blog.Object-Everything.I'm POJO.

    .紀-錄.爲了忘卻的記憶..真的勇士,要敢于直面遇到的問題,敢于正視繁雜的原碼......在實踐中積累!

      BlogJava :: 首頁 :: 聯系 :: 聚合  :: 管理
      74 Posts :: 1 Stories :: 70 Comments :: 0 Trackbacks

    同事配置Spring security 2,使用Ehcache 緩沖時出現如下錯誤
    Caused by: java.lang.NoSuchMethodError: net.sf.ehcache.Cache.<init>(Ljava/lang/String;ILnet/sf/ehcache/store/MemoryStoreEvictionPolicy;ZLjava/lang/String;ZJJZJLnet/sf/ehcache/event/RegisteredEventListeners;Lnet/sf/ehcache/bootstrap/BootstrapCacheLoader;I)V

    Initialization of bean failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.security.userdetails.jdbc.JdbcUserDetailsManager#0.caching': Cannot resolve reference to bean 'userCache' while setting bean property 'userCache'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'userCache' defined in ServletContext resource [/WEB-INF/spring-security.xml]: Cannot resolve reference to bean 'userEhCache' while setting bean property 'cache'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'userEhCache' defined in ServletContext resource [/WEB-INF/spring-security.xml]: Invocation of init method failed; nested exception is java.lang.NoSuchMethodError: net.sf.ehcache.Cache.<init>(Ljava/lang/String;ILnet/sf/ehcache/store/MemoryStoreEvictionPolicy;ZLjava/lang/String;ZJJZJLnet/sf/ehcache/event/RegisteredEventListeners;Lnet/sf/ehcache/bootstrap/BootstrapCacheLoader;I)V
     
    原因:使用ehcache-1.3.0.jar或者ehcache-1.5.0.jar替換 ehcache-1.2.3.jar
    還需 backport-util-concurrent-3.1.jar
    不然會報:java.lang.ClassNotFoundException: edu.emory.mathcs.backport.java.util.concurrent.Exe cutionException
    backport-util-concurrent-3.1.jar 下載地址。
    http://mirrors.ibiblio.org/pub/mirrors/maven/mule/dependencies/maven2/backport-util-concurrent/backport-util-concurrent/3.1/backport-util-concurrent-3.1.jar

     

    posted on 2009-08-31 09:32 Kim' 閱讀(1499) 評論(0)  編輯  收藏

    只有注冊用戶登錄后才能發表評論。


    網站導航:
     
    jj
    主站蜘蛛池模板: 成年18网站免费视频网站| 久久成人免费播放网站| 午夜免费福利在线| 亚洲中文久久精品无码1| 中文字幕乱码免费视频| 亚洲成aⅴ人在线观看| 亚洲人成网站免费播放| 亚洲精品人成网在线播放影院| 一二三四免费观看在线视频中文版 | 草久免费在线观看网站| 中文字幕亚洲无线码| 久久国产精品国产自线拍免费| 久久精品国产亚洲沈樵| 1000部拍拍拍18勿入免费视频软件 | 亚洲黄色免费网站| 亚洲乱码一二三四区乱码| 免费看无码自慰一区二区| 国产精品亚洲片在线花蝴蝶| 相泽亚洲一区中文字幕| 免费A级毛片无码A∨中文字幕下载| 亚洲综合久久综合激情久久| 亚洲免费在线视频播放| 亚洲av无码一区二区三区人妖| 免费中文字幕在线观看| 三级黄色免费观看| 亚洲成人黄色在线观看| 日韩一级免费视频| 久久免费线看线看| 亚洲制服丝袜第一页| 免费国产真实迷j在线观看| 永久免费A∨片在线观看| 亚洲五月综合网色九月色| 亚洲色婷婷综合开心网| 无码人妻丰满熟妇区免费| 亚洲色大成网站www久久九| 国产a v无码专区亚洲av | 精品久久久久久国产免费了 | 久久精品免费一区二区喷潮| 人妖系列免费网站观看| 亚洲制服丝袜在线播放| 亚洲中文字幕成人在线|