Hibernate error: Could not parse mapping document from resource

Source: Internet
Author: User

Last night in their own computer set up the SSH environment to run a good, build success when I was small excited, and then today put on the company's computer, directly to me a could not the parse mapping document from resource, when I was careful liver broken directly , and it changed me for a few hours, and finally in http://blog.csdn.net/mydeman/article/details/6134820.

Found the answer, *.hbm.xml referenced the wrong DTD file path "http://www.hibernate.org/dtd/hibernate-mapping-3.0.dtd" This is required for networking to run, The company's computer does not have a network, so can not parse this configuration file, replace the network HTTP://HIBERNATE.SOURCEFORGE.NET/HIBERNATE-MAPPING-3.0.DTD is right

Hibernate error: Could not parse mapping document from resource

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.