隨筆 - 0, 文章 - 264, 評論 - 170, 引用 - 0
          數據加載中……

          java.lang.NoClassDefFoundError: org/aopalliance/intercept/MethodInterceptor

          Spring3集成JPA,在添加聲明式事務管理后,啟動TOMCAT,報錯:
          org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.aop.framework.autoproxy.DefaultAdvisorAutoProxyCreator#0' defined in class path resource [spring/applicationContext.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [org.springframework.aop.framework.autoproxy.DefaultAdvisorAutoProxyCreator]: Constructor threw exception; nested exception is java.lang.NoClassDefFoundError: org/aopalliance/intercept/MethodInterceptor
          ---
          ---
          ---
          Caused by: java.lang.NoClassDefFoundError: org/aopalliance/intercept/MethodInterceptor

          解決辦法:

          添加spring所信賴的包。如果你下載的版本沒有包含信賴的包,請下載前一個版本帶信賴的包,然后拷貝缺少的jar,加入你的classpath即可。

          posted on 2010-12-05 23:23 小一敗涂地 閱讀(7807) 評論(0)  編輯  收藏 所屬分類: spring相關


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


          網站導航:
           
          主站蜘蛛池模板: 贵定县| 新安县| 瓦房店市| 绥棱县| 西贡区| 敦煌市| 新疆| 涿鹿县| 安仁县| 永定县| 韩城市| 景泰县| 齐河县| 通州市| 温州市| 湟源县| 若尔盖县| 井陉县| 曲麻莱县| 布拖县| 乌兰察布市| 牟定县| 寿光市| 江阴市| 左权县| 元阳县| 丽水市| 中宁县| 博兴县| 宁蒗| 通河县| 苍梧县| 乌兰县| 温州市| 株洲县| 弥渡县| 伊吾县| 赣州市| 内黄县| 武乡县| 彝良县|