views:

787

answers:

3

I'm new to Wicket and Hibernate and can't get past the "org.hibernate.HibernateException: /hibernate.cfg.xml not found" error. I've put that file in every location imagineable but I'm still stuck. Where exactly does that file go and/or am I missing a wicket file config setting somewhere?

A: 

If you're just starting with Wicket and Hibernate, you may be interested in the Databinder toolkit.

Joril
+2  A: 

Ensure hibernate.cfg.xml file placed in classpath.

A: 

I'd place the hibernate,cfg.xml in the /WEB-INF folder of your application.

emeraldjava