Hibernate-configuration-3.0.dtd not found

I am using Eclipse IDE 2022-6 for java programmers. I have installed Hibernate Tools for Eclipse Version: 5.4.16.v20220330-1129 and have in ClassPath Hibernate version 6.1.0.Final.

The hibernate.cfg.xml have:

<!DOCTYPE hibernate-configuration PUBLIC "-//Hibernate/Hibernate Configuration DTD 3.0//EN"

running project the resulting error message is:

ERROR: Schema "http://www.hibernate.org/dtd/hibernate-configuration-3.0.dtd" not found;

Advice needed!


This might be a temporary issue. For me, the URL http://www.hibernate.org/dtd/hibernate-configuration-3.0.dtd works now and I can download the schema now. Just try again.

Thanks for answering,
I managed to eliminate use of ‘hibernate.cfg’ and `hibernate-configuration-3.0.dtd’ by creating Session Factory from Java only. Now Hibernate 6.1.1 is up and running. Nils

1 Like