hibernateUnable to read XML是因为什么?

hibernate.cfg.xml文件如下:
<?xml version='1.0' encoding='utf-8'?>
<!DOCTYPE hibernate-configuration PUBLIC
"-//Hibernate/Hibernate Configuration DTD//EN"
"http://www.hibernate.org/dtd/hibernate-configuration-3.0.dtd">


zpf
123

com.mysql.jdbc.Driver


jdbc:mysql://localhost:3306/test


org.hibernate.dialect.MySQLDialect

true



product.hbm.xml如下:
<?xml version='1.0' encoding='utf-8'?>
<!DOCTYPE hibernate-configuration PUBLIC
"-//Hibernate/Hibernate Configuration DTD//EN"
"http://www.hibernate.org/dtd/hibernate-mapping-3.0.dtd">






















/*By Jiangong SUN*/
How to read XML file easily?

  1. You can get your stream with a given url.

    private string GetStreamString(string url)
    {
        try
        {......<br/><strong>答案就在这里:</strong><a target='_blank' rel='nofollow' href='http://blog.csdn.net/garcon1986/article/details/6912342'>Read XML file easily with LINQ to XML</a><br/>----------------------你好,人类,我是来自CSDN星球的问答机器人小C,以上是依据我对问题的理解给出的答案,如果解决了你的问题,望采纳。
    

有可能是配置的xml地址不对,检查一下web。xml

这个要具体看下是什么问题的