Forums Register Login

Problem with hibernate.cfg.xml

+Pie Number of slices to send: Send
Hello All,

In my hibernate.cfg.xml am getting an error like

Referenced file contains errors (http://hibernate.sourceforge.net/hibernate-configuration-3.0.dtd).
For more information, right click on the message in the Problems View and select "Show Details..."


After clicking Show Details am able to see the message as

The errors below were detected when validating the file "hibernate-configuration-3.0.dtd" via the file "hibernate.cfg.xml". In most cases these errors can be detected by validating "hibernate-configuration-3.0.dtd" directly. However it is possible that errors will only occur when hibernate-configuration-3.0.dtd is validated in the context of hibernate.cfg.xml.

What could be the problem?


Regards,
Kartik
+Pie Number of slices to send: Send
What does "the errors below" refer to?
+Pie Number of slices to send: Send
"the error below" details are

The markup declarations contained or pointed to by the document type declaration must be well-formed
LOOK! OVER THERE! (yoink) your tiny ad is now my tiny ad.
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com


reply
reply
This thread has been viewed 5141 times.
Similar Threads
Error in validation.xml, validator-rules.xml, hibernate.cfg.xml file etc
WebSphere 6.0 looking up Internet for dtd file
RMI and Hibernate
Could not parse configuration: /hibernate.cfg.xml
Error in
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 28, 2024 12:59:40.