You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by soh syed <sy...@yahoo.com> on 2001/03/02 16:15:21 UTC
class notfound exception
can anyone help with this
my classpath is all ok and i have the classes in right
folder but its still not visible to page
javax.servlet.ServletException: Exception creating
bean of class org.apache.struts.example.LogonForm:
java.lang.ClassNotFoundException:
org.apache.struts.example.LogonForm
at
org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:459)
at
_0002flogon_0002ejsplogon_jsp_0._jspService(Compiled
Code) at org.apache
__________________________________________________
Do You Yahoo!?
Get email at your own domain with Yahoo! Mail.
http://personal.mail.yahoo.com/
Re: class notfound exception
Posted by "Craig R. McClanahan" <Cr...@eng.sun.com>.
soh syed wrote:
> can anyone help with this
> my classpath is all ok and i have the classes in right
> folder but its still not visible to page
>
> javax.servlet.ServletException: Exception creating
> bean of class org.apache.struts.example.LogonForm:
> java.lang.ClassNotFoundException:
> org.apache.struts.example.LogonForm
> at
> org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:459)
> at
> _0002flogon_0002ejsplogon_jsp_0._jspService(Compiled
> Code) at org.apache
>
It looks like you are trying to create an instance of
"org.apache.struts.example.LogonForm". Note that this class is not* found in struts.jar,
because it belongs only to the example application. You would need to make sure that the
contents of WEB-INF/classes from the example application was included in your
WEB-INF/classes directory.
Craig
>
> __________________________________________________
> Do You Yahoo!?
> Get email at your own domain with Yahoo! Mail.
> http://personal.mail.yahoo.com/
RE: class notfound exception
Posted by Ben Souther <bs...@redtrain.com>.
Check to make sure it's in the right package.
-----Original Message-----
From: soh syed [mailto:syedsoh@yahoo.com]
Sent: Friday, March 02, 2001 10:15 AM
To: struts-user@jakarta.apache.org
Subject: class notfound exception
can anyone help with this
my classpath is all ok and i have the classes in right
folder but its still not visible to page
javax.servlet.ServletException: Exception creating
bean of class org.apache.struts.example.LogonForm:
java.lang.ClassNotFoundException:
org.apache.struts.example.LogonForm
at
org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImp
l.java:459)
at
_0002flogon_0002ejsplogon_jsp_0._jspService(Compiled
Code) at org.apache
__________________________________________________
Do You Yahoo!?
Get email at your own domain with Yahoo! Mail.
http://personal.mail.yahoo.com/