日期:2014-05-20  浏览次数:20677 次

Eclipse里的No grammar constraints (DTD or XML schema) detected for the document警告是什么意思啊?
Eclipse里的No grammar constraints (DTD or XML schema) detected for the document警告是什么意思啊?

------解决方案--------------------
警告信息,没事的,一般IDE环境中配置档的最前面都是DTD 或 XML 打头的。比如
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE hibernate-configuration PUBLIC
"-//Hibernate/Hibernate Configuration DTD 3.0//EN"
"http://hibernate.sourceforge.net/hibernate-configuration-3.0.dtd">