nested exception is java.io.FileNotFoundException: class path resource [hibernate.cfg.xml] cannot be resolved to URL because it does not exist
at 
java.io.FileNotFoundException: class path resource [hibernate.cfg.xml] 

解决方案 »

  1.   

    应该是你struts跟spring集成的时候有问题!
      

  2.   

    hibernate.cfg.xml 放在哪里了? 路径有问题
      

  3.   

    1 spring 的配置有问题 web.xml中
    <listener>
    <listener-class>org.springframework.web.context.ContextLoaderListener</listener-class>
    </listener>
    2 可能是架包有冲突 看一下lib下是否有同名但是版本不一样的
      

  4.   

    看看hibernate.cfg.xml放在哪里了。在spring的配置文件是怎么配置的。仔细检查一下。