亲宝软件园·资讯

展开

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

人气:0
想了解Eclipse添加xml文件提示及Hibernate配置学习的相关内容吗,在本文为您仔细讲解Eclipse xml文件提示的相关知识和一些Code实例,欢迎阅读和指正,我们先划重点: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

加载全部内容

相关教程
猜你喜欢
用户评论