这个是本人配置的sessionFactory <bean id="sessionFactory" class="org.springframework.orm.hibernate4.LocalSessionFactoryBean">  
        <property name="dataSource" ref="dataSource" />  
        <property name="mappingResources">  
            <list>  
               <value>classpath*:/com/heping/oa/entity/main/hbm/*.hbm.xml</value>
            </list>  
        </property>  
        <property name="hibernateProperties">  
            <value>  
                hibernate.dialect=org.hibernate.dialect.MySQL5Dialect
                hibernate.show_sql=true  
            </value>  
        </property>  
    </bean>
当执行 mvn clean test时候 出现 异常信息如下:
]
Tests in error: 
  testSessionFactory(com.heping.oa.hibernate.SpringHibernateTest): Error creating bean with name 'sessionFactory' defined in class path resource [applicationContext.xml]: Invocation of init method failed; nested exception is java.io.FileNotFoundException: class path resource [classpath:/com/heping/oa/entity/main/hbm/Hospital.hbm.xml] cannot be opened because it does not existTests run: 1, Failures: 0, Errors: 1, Skipped: 0本人疑问,我这个配置方法是否有问题,因为我这个配置是照抄之前项目的,之前版本是hibernate3.3  现在版本是4.17 如果这样配置是错误的,帮忙说下 该怎么写?hibernate