Hi All,
Could anybody kindly tell me why the following error is coming ?

The scenario is like this :-

1.Windows 98
2.GNUJSP
3.APACHE Jserv
4. Apache WebServer

Directory Structure:
                        C:\
                               EcommPkg
                                       Apache
                                       Apache Jserv
                                       GNUJSP
                                       mybean


The following error is coming when I am trying to access a Database bean
i.e. DataInsertion.java  file thru the
Form2.jsp  and I quote the error below as shown in the IE 4.0 browser :-
( The bean is kept in a package named as  mybean  which is in mybean
directory under the EcommPkg directory which is my root directory under
which I have the above mentioned 2,3,4 )

M025 /jsp/MyPages/Form2.jsp:

java.lang.NoClassDefFoundError: mybean/DataInsertion
        at java.lang.Class.newInstance0(Native Method)
        at java.lang.Class.newInstance(Compiled Code)
        at org.gjt.jsp.JspServlet$Page.load(JspServlet.java:929)
        at org.gjt.jsp.JspServlet$Page.needToRecompile(Compiled Code)
        at org.gjt.jsp.JspServlet$Page.process(Compiled Code)
        at org.gjt.jsp.JspServlet.service(JspServlet.java:284)
        at javax.servlet.http.HttpServlet.service(Compiled Code)
        at org.apache.jserv.JServConnection.processRequest(Compiled Code)
        at org.apache.jserv.JServConnection.run(Compiled Code)
        at java.lang.Thread.run(Compiled Code)



With Regards,

Sujoy.

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

Reply via email to