Need help with Hibernate? Read this first:
http://www.hibernate.org/ForumMailingli ... AskForHelp
Hibernate version:
Mapping documents:
Code between sessionFactory.openSession() and session.close():
Full stack trace of any exception that occurs:
Name and version of the database you are using:
The generated SQL (show_sql=true):
Debug level Hibernate log excerpt:
i want to learn hibernate3, so i find this demo on hibernate.org.
i have installed it on tomcat 5.5.9, and i can open the welcome page of the application, but when i clicked any link, i got the error as below:
Code:
javax.servlet.ServletException: Servlet execution threw an exception
org.securityfilter.filter.SecurityFilter.doFilter(SecurityFilter.java:188)
root cause
java.lang.ExceptionInInitializerError
petstore.tools.HibernateUtil.<clinit>(Unknown Source)
java.lang.Class.forName0(Native Method)
java.lang.Class.forName(Class.java:164)
org.xmoon.node.BeanNode.getContextBean(Unknown Source)
org.xmoon.node.BeanNode.getBean(Unknown Source)
org.xmoon.node.BsfNode.evalService(Unknown Source)
org.xmoon.GenericStrutsAction.execute(Unknown Source)
org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:419)
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:224)
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1194)
org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)
javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
org.securityfilter.filter.SecurityFilter.doFilter(SecurityFilter.java:188)
anyone has the experience of this application, please tell me how to use this applicaion. because i didn't find any document of it, i really don't know how to do next.