隨筆 - 0, 文章 - 264, 評論 - 170, 引用 - 0
          數(shù)據(jù)加載中……

          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相關


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


          網(wǎng)站導航:
           
          主站蜘蛛池模板: 永嘉县| 积石山| 游戏| 阳西县| 常州市| 比如县| 仁化县| 中卫市| 通海县| 兴义市| 桓仁| 乐清市| 泗水县| 唐河县| 安达市| 木兰县| 兴安盟| 杭锦旗| 迭部县| 盐源县| 象州县| 辽阳县| 房山区| 腾冲县| 晋中市| 罗甸县| 安徽省| 个旧市| 蓬溪县| 石林| 靖江市| 泾阳县| 安丘市| 安西县| 林甸县| 宿迁市| 资溪县| 潢川县| 芦溪县| 太仓市| 惠东县|