解决方案 »

  1.   

     org.springframework.core.annotation.AnnotationUtils.getAnnotation ????
    看过了这个有的。
      

  2.   

    应该是少jar包了吧。代码看不出错误,是和struts整合的项目么,如果是看看struts-spring-plugin. jar有没
      

  3.   

    Error creating bean with name 'sessionFactory' defined in class path resource [beans.xml]
    数据源有问题,看看是什么原因造成的
      

  4.   

    jar包删除,重新下一个再部署上;
      

  5.   

    要么缺少jar,要么是配置文件
      

  6.   

    要么缺少jar包,要么配置有问题
      

  7.   

    检查下配置文件是不是哪里错了
    这么一大段东西··难看啊
    错误报的是数据源那块的配置有问题
    jar包问题就不确定了
      

  8.   

    你要用注解的话,不应该使用<bean id="sessionFactory" class="org.springframework.orm.hibernate4.LocalSessionFactoryBean">吧,应该是AnnotationSessionFactoryBean
      

  9.   

    org.springframework.orm.hibernate4下没找到AnnotationSessionFactoryBean接口
      

  10.   

    我测试过了,确实在ClassPathXmlApplicationContext解析beans.xml时出了问题。