<p>How you fix the following Hibernate error:</p>

<p>What does "Use of the same entity name twice".</p>

I think it means you have declared the same entity in more than one configuration file.
Without more information, I would try commenting out chunks of your config file so that you don't see the error, and then slowly adding sections back in until you encounter the error?
If its only a few config files, then why not post them here? When posting, if you add 4 spaces to the front of your XML, then it will be:
```
```
<xml>nicely formatted</xml>
```
```
Hope this helps.