Follow instructions from web page
When using Tomcat, the xml configuration files should be placed in /WEB-INF/classes
.
Other libraries should be deployed along with hibernate.jar
. To find out which ones, read
lib/README.txt
from the hibernate distribution.
Troubleshooting
java.lang.NoClassDefFoundError: net/sf/cglib/core/KeyFactory
Add missing cglib-full-2.0.1.jar