Adding jar file to lib using eclipse
Posted on 2006-03-21
I'm trying out hibernate and I keep getting a: NoClassDefFoundError.
I believe I need to get the required hibernate (dom4j.jar, cglib.jar, commons-collections.jar, commons-logging.jar, ehcache.jar, log4j.jar) jar files into the WEB-INF/lib directory for them to be included in my project context classpath.
Using eclipse, I thought the hibernate jar files would be included in the context classpath.
Is this assumtion correct, and if so, how can I add the required jars and/or libraries into WEB-INF/lib directory using eclipse?
Thanks for any help.