I am deploying a new web application and I had to change the package name for
the class files and then redeploy them. Since I changed the package name
the jsp pages are unable to find the class files. The application compiles
perfectly and there is no problem then with the JSP. When loading the app I
get this error:
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: java.lang.NoClassDefFoundError
org.apache.jasper.runtime.PageContextImpl.doHandlePageException(PageContextImpl.java:850)
org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:779)
org.apache.jsp.fbFormAdmin_jsp._jspService(fbFormAdmin_jsp.java:607)
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
javax.servlet.http.HttpServlet.service(HttpServlet.java:806)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:388)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:320)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266)
javax.servlet.http.HttpServlet.service(HttpServlet.java:806)
root cause
java.lang.NoClassDefFoundError
website.form.FrmsFrmCtl.<init>(FrmsFrmCtl.java:123)
org.apache.jsp.fbFormAdmin_jsp._jspService(fbFormAdmin_jsp.java:65)
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
javax.servlet.http.HttpServlet.service(HttpServlet.java:806)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:388)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:320)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266)
javax.servlet.http.HttpServlet.service(HttpServlet.java:806)
note The full stack trace of the root cause is available in the Apache
Tomcat/6.0-snapshot logs.
--------------------------------------------------------------------------------
Apache Tomcat/6.0-snapshot
Any inputs will be much appreciated.
Thanks,
Manisha
--
View this message in context:
http://www.nabble.com/deploying-a-new-app-with-change-in-package-name---NoClassDefFoundError-tf4779778s134.html#a13674125
Sent from the Apache Geronimo - Users mailing list archive at Nabble.com.