Eclipse 安装Hibernate 过程

离线安装:

下载地址: http://tools.jboss.org/downloads/overview.html

根据版本下载  选择对应的 final下载

 安装Hibernate Tools插件到eclipse中

eclipse->help-> install software...->在弹出窗口中点击locale选择下载jbosstools-4.2.1.Final_2014-12-14_19-57-05-B217-updatesite-hibernatetools.zip一步一步安装即可。

配置自动提示hibernate配置文件

如果我们在编辑*.cfg.xml、*.hbm.xml、*.hre.xml文件无自动提示时,我们可以这么做,windows->preferences->xml节点先找到xml catalog:

点击"Add"按钮,弹出窗口:

在该窗口中切换Key type为URI,点击“File System...”按钮选择已经下载的hibernate开发包解压地址下对应的dtd文件:

猜你喜欢

转载自www.cnblogs.com/peichao/p/9944417.html
今日推荐