facebook

Hibernate error

  1. MyEclipse Archived
  2.  > 
  3. Database Tools (DB Explorer, Hibernate, etc.)
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #250664 Reply

    Let me know whether I forgot to include any files,

    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

    root cause

    java.lang.NoClassDefFoundError: org/hibernate/Session
    src.LibraryManager.getAllBooks(LibraryManager.java:32)
    com.abhi.struts.action.BookListAction.execute(BookListAction.java:38)
    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)

    note The full stack trace of the root cause is available in the Apache Tomcat/5.0.28 logs.
    Apache Tomcat/5.0.28

    #250673 Reply

    Haris Peco
    Member

    abhijitsulhyan ,

    You have to add hibernate libraries in tomcat’s classpath

    Best

Viewing 2 posts - 1 through 2 (of 2 total)
Reply To: Hibernate error

You must be logged in to post in the forum log in