分享

关于Spring3报org.aopalliance.intercept.MethodInterceptor错的问题解决方法

 集微笔记 2014-02-18


    运行环境:JDK1.6.0_22
              Oracle10g
              Spring3.0.4

    报错信息如下:
   
Java代码 复制代码 收藏代码
  1. Exception in thread "main" org.springframework.beans.factory.BeanDefinitionStoreException: Unexpected exception parsing XML document from class path resource [SpringConfig_Jdbc.xml]; nested exception is java.lang.NoClassDefFoundError: org/aopalliance/intercept/MethodInterceptor   
  2. (省略)...   
  3. Caused by: java.lang.NoClassDefFoundError: org/aopalliance/intercept/MethodInterceptor  

   
    出现了java.lang.NoClassDefFoundError:的错误,首先想到的就是少包,在网上搜搜了,果然是少了一个叫aopalliance.jar的jar包,下载这个包,加到路径里就OK了。
    下载地址:http:///projects/aopalliance/files/ 
   

    本站是提供个人知识管理的网络存储空间,所有内容均由用户发布,不代表本站观点。请注意甄别内容中的联系方式、诱导购买等信息,谨防诈骗。如发现有害或侵权内容,请点击一键举报。
    转藏 分享 献花(0

    0条评论

    发表

    请遵守用户 评论公约

    类似文章 更多