# I can't download hibernate-configuration-3.0.dtd in Eclipse

**URL:** <https://discourse.hibernate.org/t/i-cant-download-hibernate-configuration-3-0-dtd-in-eclipse/9709>\
**Category:** Hibernate ORM\
**Created:** [June 6, 2024, 3:34pm UTC](https://discourse.hibernate.org/t/i-cant-download-hibernate-configuration-3-0-dtd-in-eclipse/9709 "2024-06-06T15:34:03Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![MichaelJS](https://avatars.discourse-cdn.com/v4/letter/m/e36b37/32.png) [@MichaelJS](https://discourse.hibernate.org/u/MichaelJS)\
**Post date:** [June 6, 2024, 3:34pm UTC](https://discourse.hibernate.org/t/i-cant-download-hibernate-configuration-3-0-dtd-in-eclipse/9709/1 "2024-06-06T15:34:03Z")

</div>

I am trying to setup the hibernate.cfg.xml file for my application in eclipse and it does not like the reference to hibernate configuration

 at the top.

Initially it was telling me I was not allowed to download external files but I changed the maven setting to fix that but now it is showing the error below

 ![image](https://canada1.discourse-cdn.com/flex035/uploads/hibernate/original/2X/c/c7b8efdbe40f9eff1270c43e520449c4b21cab03.png)

Not sure if this is relevant but I am using Hibernate 6.5.2 on Eclipse 2024-03 (4.31.0) with Java 17

Does anyone have an idea why this is happening

---

<div class="post-metadata">

**Author:** ![MichaelJS](https://avatars.discourse-cdn.com/v4/letter/m/e36b37/32.png) [@MichaelJS](https://discourse.hibernate.org/u/MichaelJS)\
**Post date:** [June 7, 2024, 7:47am UTC](https://discourse.hibernate.org/t/i-cant-download-hibernate-configuration-3-0-dtd-in-eclipse/9709/2 "2024-06-07T07:47:48Z")

</div>

After disabling the downloading of external files, restarting Eclipse, then switching it back on and restarting Eclipse again this issue has now been resolved - I really don’t understand why but everything is now working as expected

I do find Eclipse can be very temperamental

---

<div class="post-metadata">

**Author:** ![idaa45](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.hibernate.org/idaa45/32/3275_2.png) [@idaa45](https://discourse.hibernate.org/u/idaa45)\
**Post date:** [June 20, 2024, 4:33am UTC](https://discourse.hibernate.org/t/i-cant-download-hibernate-configuration-3-0-dtd-in-eclipse/9709/3 "2024-06-20T04:33:52Z")

</div>

Eclipse can be temperamental at times. I will share you some tips to avoid similar issues in the future:

- Check XML Syntax

`<!DOCTYPE hibernate-configuration PUBLIC "-//Hibernate/Hibernate Configuration DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-configuration-3.0.dtd">`

- Verify all required dependencies are correctly listed
- make sure your Eclipse and all related plugins are up to date.
