• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Problem with hibernate.cfg.xml

 
Kartik Tal
Ranch Hand
Posts: 104
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
Paul Clapham
Sheriff
Posts: 21588
33
Eclipse IDE Firefox Browser MySQL Database
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What does "the errors below" refer to?
 
Kartik Tal
Ranch Hand
Posts: 104
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
"the error below" details are

The markup declarations contained or pointed to by the document type declaration must be well-formed
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic