Hi, I have created a "reporter" folder(application) under Tomcat 5.0. So I placed all required jars including hibernate3.jar and jdbc driver jar under the following directory.
I placed the hibernate.config.xml, mapping file and all the cllasses in
I set an environmental vaiable TOMCAT_HOME to c:\Tomcat 5.0 But I am getting "java.lang.NoClassDefFoundError: org/hibernate/Session". What could be the problem? Do I need to set any classpath for tomcat.
Note: The environmental variable "CLASSPATH" is empty. your help would save me a lot of time.
posted 11 years ago
I am sorry.. Its my silly mistake. I forgot to copy hibenate3.jar into the lib folder. Now its working fine.