Error after importing project in eclipse

This is the warning I get. The file could not be verified because the XML definition http://www.hibernate.org/dtd/hibernate-configuration-3.0.dtd ", which is specified as a description of the file syntax, could not be found.

There are banks for sleep mode. What am I missing?

+4
source share
2 answers

In some cases, eclipse may not load this DTD file specified in the XML file .

In such cases, you can download and install it manually.

Although the link below is for the log4j xml file. Follow the same procedure for hibernate.cfg.xml

Eclipse: link to log4j.dtd in log4j.xml

+1
source

This happens when eclipse cannot detect hibernation libraries on .classpath . Make sure they are added to the correct .classpath project.

You may want to update the project in order for the changes to take effect.

0
source

All Articles