在hibernate.cfg.xml文件下
1. <mapping resource="package.User.hbm.xml" />
改成
<mapping resource="package/User.hbm.xml" />
2. <mapping resource="package.package.User.hbm.xml" />
改成
<mapping resource="package/package/User.hbm.xml" />
在hibernate.cfg.xml文件下
1. <mapping resource="package.User.hbm.xml" />
2. <mapping resource="package.package.User.hbm.xml" />