windows ——> preferences ——> Myeclipse ——> Files and Editors ——>XML ——>XML Catalog
——> add... ——> Location ——> File System... ——>添加附件中的文件 ——> Key Type ——>URI
注意:
hibernate-configuration-3.0.dtd
—— 对应URI为 —— http://hibernate.sourceforge.net/hibernate-configuration-3.0.dtd
hibernate-mapping-3.0.dtd
—— 对应URI为 —— http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd
struts-2.0.dtd
—— 对应URI为 —— http://struts.apache.org/dtds/struts-2.0.dtd
log4j.dtd
—— 对应URI为 —— http://logging.apache.org/log4j/1.2/apidocs/org/apache/log4j/xml/doc-files/log4j.dtd