软件编程
位置:首页>> 软件编程>> java编程>> Eclipse添加xml文件提示及Hibernate配置学习

Eclipse添加xml文件提示及Hibernate配置学习

  发布时间:2023-08-17 05:01:47 

标签:xml文件提示,Hibernate配置

添加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文件

Key Type:URL
Key:打开dtd文件粘贴如下路径
http://hibernate.sourceforge.net/hibernate-configuration-3.0.dtd
http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd

0
投稿

猜你喜欢

手机版 软件编程 asp之家 www.aspxhome.com