SSH整合的问题报错,说是错误创建Bean名称SessionFactory

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 [com/ssh/entity/GoodsInfo.hbm.xml] cannot be opened because it does not exist

com/ssh/entity/GoodsInfo.hbm.xml 检查下这个路径是否正确

com/ssh/entity/GoodsInfo.hbm.xml这个的文件路径在web.xml上写错了,以至于没有扫描到(because it does not exist)