你好,我今天也遇到一个这样的问题,我发现是我在Spring配置文件中设定的mappinglocations的.hbm.xml文件的写错了,你应该也是这种问题吧,检查一下
如果是在applicationcontext。xml中配置的话,就不用修改该他了,已经用不到了啊,不过不知道你的的datasource是不是也在xml中配置,给你个例子看看自己调整吧
y2ssh/xmal/entity/goods.hbm.xml
y2ssh/xmal/entity/user.hbm.xml
y2ssh/xmal/entity/bid.hbm.xml
org.hibernate.dialect.sqlserverdialect
true