0
我开发的应用,这将读取从hibernate.cfg.xml文件是根据下面的文件夹的JBoss 7.1.1与Hibernate 4.1.1
JBoss7.1.1 /独立/配置/例1 /休眠Hibernate配置。 cfg.xml中
<mapping resource="example1/hbm/T1.hbm.xml"/>
<mapping resource="example1/hbm/T2.hbm.xml"/>
,所有的映射文件被保存在 JBoss7.1.1 /单机/配置/例1/HBM/*。hbm.xml中
但它不工作,它的投掷
org.hibernate.MappingNotFoundException:resource:example1/hbm/T1.hbm.xml。
是他们对上述配置的任何问题?我错过了什么。