Hibernate Configuration: NoClassDefFoundError

From: Brian Victor (bhv1_at_psu.edu)
Date: 10/08/04

  • Next message: Brian Victor: "Re: Hibernate Configuration: NoClassDefFoundError"
    Date: Fri, 08 Oct 2004 16:04:12 -0500
    
    

    I'm trying to get Hibernate 2.1 to work on Tomcat/Apache on Windows. I'm
    going through chapter 1 of the docs and hitting some trouble. I've made
    some modifications to the code to try to isolate it:

    http://eugeneciurana.com/pastebin/pastebin.php?show=3277

    On line 62 I get the following:
    java.lang.NoClassDefFoundError
            org.apache.jsp.hibernatetest_jsp._jspService(hibernatetest_jsp.java:61)
            org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:94)
            javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
            org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:324)
            org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)
            org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
            javax.servlet.http.HttpServlet.service(HttpServlet.java:856)

    hibarnate2.jar and everything in the hibernate lib directory I have copied over
    to my application's lib directory. HibernateUtil compiles without
    error. Any ideas how I would go about fixing this?

    Thanks in advance,

    -- 
    Brian
    

  • Next message: Brian Victor: "Re: Hibernate Configuration: NoClassDefFoundError"