Hibernate version: 
3.0
Code between sessionFactory.openSession() and session.close():
i am trying to run a simple tomcat example from hibernate reference, i post the main() i run and that gives the exception: 
Code:
public static void main(String[] args) {
        
        Session session = HibernateUtil.currentSession();
        
        
        Transaction tx= session.beginTransaction();
       
        
         
        Cat princess = new Cat();
        princess.setName("Princess");
        princess.setSex('F');
        princess.setWeight(7.4f);
        
        
        session.save(princess);
        
        
        tx.commit();
        
        
        
        
        HibernateUtil.closeSession();
    }
Full stack trace of any exception that occurs:
Caused by: org.hibernate.HibernateException: problem parsing configuration/hibernate.cfg.xml
    at org.hibernate.cfg.Configuration.doConfigure(Configuration.java:1223)
    at org.hibernate.cfg.Configuration.configure(Configuration.java:1162)
    at org.hibernate.cfg.Configuration.configure(Configuration.java:1148)
    at HibernateUtil.<clinit>(HibernateUtil.java:29)
Caused by: org.dom4j.DocumentException: hibernate.sourceforge.net Nested exception: hibernate.sourceforge.net
    at org.dom4j.io.SAXReader.read(SAXReader.java:484)
    at org.hibernate.cfg.Configuration.doConfigure(Configuration.java:1218)
    ... 3 more
Exception in thread "main" 
Name and version of the database you are using:
mysql 41
The generated SQL (show_sql=true):
Debug level Hibernate log excerpt: