码迷,mamicode.com
首页 > Web开发 > 详细

1_eclipse导入hibernate 的DTD 文件

时间:2019-02-16 09:24:41      阅读:219      评论:0      收藏:0      [点我收藏+]

标签:org   cat   specified   required   ppi   ati   ber   das   hibernate   

1、解压:找到 dtd 文件

技术图片

lib

技术图片

required

技术图片

解压 core 文件,然后在 /org/hibernate 下找到 dtd 文件(hibernate-configuration-3.0.dtd、hibernate-mapping-3.0.dtd)

技术图片

2、Eclipse 导入DTD文件 

preference—xml—xml catalog—user specified entries--add

技术图片

(1)导入configuration.dtd 文件

Key type:Public ID

Key: -//Hibernate/Hibernate Configuration DTD 3.0//EN

Location:解压后的dtd文件。

或者:

Key type:URI

Key: http://www.hibernate.org/dtd/hibernate-configuration-3.0.dtd

Location:解压后的dtd文件。

(2)导入 mapping dtd 文件

Key type:Public ID

Key: -//Hibernate/Hibernate Mapping DTD 3.0//EN

Location:解压后的dtd文件

或者:

Key type:URI

Key: http://www.hibernate.org/dtd/hibernate-mapping-3.0.dtd

Location:解压后的dtd文件。

 

1_eclipse导入hibernate 的DTD 文件

标签:org   cat   specified   required   ppi   ati   ber   das   hibernate   

原文地址:https://www.cnblogs.com/fanyizhan/p/10386628.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!