首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 软件管理 > 软件架构设计 >

对象 is not 地图ped

2012-10-24 
对象 is not mapped04/29遇到? XX类 is not mapped 。?但我的src/hibernate.cfg.xml中已经配置。?原因是test

对象 is not mapped

04/29

遇到? XX类 is not mapped 。

?

但我的src/hibernate.cfg.xml中已经配置。

?

原因是test/hibernate.cfg.xml中未配置,而项目启动时认为的classPath是test目录。

?

修改.myhibernate的configFile指向正确的,并重新布署就行了。

?

注在.classpath文件中可以看到test的kind 是src

热点排行