org.springframework.beans.factory.BeanCreationException: Error creating bean
with name
'sessionFactory' defined
in class path resource [applicationContext.xml]: Invocation
of init
method failed; nested exception
is org.hibernate.InvalidMapping:unable
read xml
该问题发生在hbm.xml配置文件出错,重新配置显示hbm.xml的图标即可