I inherited several projects Javas in my new job, but I\'m having some problems with settings. I\'m facing a problem that is researched so common. \"java.lang.NoClassDefFoun
Add all the JARS to WEB-INF and perform build path on project.
To add jars in eclipse you have two options:
Right click on project got to properties-->click on java build path --> configure build path--> Libraries --> and select add external jars button. It will open a window where you can add all your jars required.
Second option is to paste jars directly to lib folder. lib folder is in Web Content --> WEB-INF --> lib.
Use any one of them.
From what I understand the classpath xml you provided is used by Eclipse, it has nothing to do with your web application classpath. The reason you get an NoClassDefFoundError is Tomcat not being able to find Hibernate class. Make sure your Web Module has all required jars in WEB-INF/lib directory.