Hi all,
New to hibernate and stuck with an exception on app. startup. Here is the content of my jar file generated with Maven
hibernate.cfg.xml
+ meta-inf
manifest.mf
+maven
+com
+hiberlearn
pom.properties
pom.xml
+com
+hiberlearn
App.class
Category.class
Category.hbm.xml
Receipe.class
Receipe.hbm.xml
+util
HibernateUtils.class
In my code the following instruction
sessionFactory = (new Configuration()).configure().buildSessionFactory();
throws the following exception
org.hibernate.cfg.Environment <clinit> INFO: Hibernate 3.1 Dec 1, 2006 12:17:30 PM org.hibernate.cfg.Environment <clinit> INFO: hibernate.properties not found Dec…….
Thanks for help
Gianfranco
|