可能你的spring倒入的的包不全。

解决方案 »

  1.   

    可能是导入hibernate时,将spring包给覆盖掉了,如果是这个问题,则在导入hibernate时,选择keep existing
      

  2.   

    不会啊导入spring和hibernate时候都是选择keep existing啊.
      

  3.   

    Caused by: java.lang.NoClassDefFoundError: org/apache/commons/collections/CursorableLinkedList 
    错误似乎和tomcat有关,少了这个类!
      

  4.   

    我也不太懂啊,tomcat是用6.10版本的,有问题吗?我从装过tomcat
      

  5.   

    有没有加载Spring /WEB-INF/applicationContext.xml
      

  6.   

    检查一下有没有引入commons-collections.jar这个包
      

  7.   

    commons-collections.jar有啊,哎..好烦,奇怪的问题.
      

  8.   

    java.lang.NoClassDefFoundError: org/apache/commons/collections/CursorableLinkedList 
    Caused by: java.lang.NoClassDefFoundError: