eclipse中hibernate配置文件自动提示

1、hibernate配置文件自动提示

解压hibernate.jar包

在org\hibernate目录下找到hibernate-configuration-3.0.dtd和hibernate-mapping-3.0.dtd


打开Eclipse-->Window-->Preferences-->Web and XML-->XML Catalog


在右边点击Add XML Catalog Entry

location:引入上面说的dtd文件 路劲,

例如:E:\myplay\jarFile\hibernate-release-4.2.19.Final\project\hibernate-core\src\main\resources\org\hibernate\hibernate-configuration-3.0.dtd


Key Typ:URL
Ke:打开dtd文件粘贴如下路径
http://hibernate.sourceforge.net/hibernate-configuration-3.0.dtd
http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd 
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值