Why do I get "Failed to create sessionFactory object.org.hibernate.MappingException: invalid configuration" when I try to execute the main? I'm using Hibernate 4.2.11.Final with a PostGreSQL DB. This is my hibernate.cfg.xml:Why do I get "Failed to create sessionFactory o