Pessoal, estou com um problema. Estou tentando persistir no Hibernate a partir de uma aplicação para web e está dando erro. Roda no eclipse mas não a partir do Tomcat. Uso o Tomcat 5.0.19 e hibernate 3.2. Apesar do erro abaixo, já adicionei os jars no class path:
HTTP Status 500 -
type Exception report
message
description The server encountered an internal error () that prevented it from fulfilling this request.
exception
javax.servlet.ServletException: Servlet execution threw an exception
[color=“red”]root cause
java.lang.NoClassDefFoundError: org/hibernate/Session
ClienteDAO.<init>(ClienteDAO.java:8)
Cadastrar.execute(Cadastrar.java:20)
Controller.service(Controller.java:29)[/color]
javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
note The full stack trace of the root cause is available in the Tomcat logs.
Apache Tomcat/5.0.19