0
. When indicating the configuration file to Hibernate, I tried the wrong relative path before ". cgf) (.. /.. /main/Resources/Hibernate.cgf.xml). But now corrected, the absolute and Hibernate path does not update, keep looking as if I had passed the wrong relative path...
See below for the configuration class where I indicate . cfg and the error below:


Hibernate. cgf .xml?
– Piovezan
I typed wrong. .cfg.xml
– Lucas Pletsch
I didn’t type wrong. It’s written like this in the Hibernate error message, look.
– Lucas Pletsch
Are you sure the message is not simply showing the name typed by you?
– Piovezan
This may be what I typed before, but I fixed, saved, closed and opened the Eclipse, and continues to accuse that typing wrong anthers. Look what I typed in the code above.
– Lucas Pletsch
Got it. Strange that the wrong name persists in the error message.
– Piovezan
I even restarted the computer and it didn’t help. There is no other place where I pass.cfg ...
– Lucas Pletsch
Have you ever just tried
configuration.configure()? Hibernate will find the cfg of your application. If you need to inform an absolute path file, the answer is in that other post– Badaro
I tried now, nothing changes.
– Lucas Pletsch