struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Shervin Asgari <sher...@linpro.no>
Subject Re: Plz Help, Urgent
Date Thu, 10 Aug 2006 11:26:14 GMT
I guess you have forgotten to change menuitems.jps in your forwards.xml 
file or other config files.
Because your output is saying: (wrong name: org/apache/jsp/menuitems_jsp)
Find this value, and changed it to MenuItems and not menuitems

Shervin Asgari - System Consultant




Medicherla Lakshmi wrote:
> Hi All,
>    
>   I developed an application which forwards menuitems.jsp as we login and it was working
fine.
>   I changed the name of the jsp into MenuItems.jsp and trying to access, it gives the
following error.  I felt it unable to find the class file. So, undeployed the application
and deployed again.  Still its giving the same problem.
>   Can anyone tell me why is it so.  
>
> javax.servlet.ServletException: org/apache/jsp/MenuItems_jsp (wrong name: org/apache/jsp/menuitems_jsp)
  org.apache.jasper.servlet.JspServlet.service(JspServlet.java:249)   javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
  org.netbeans.modules.web.monitor.server.MonitorFilter.doFilter(MonitorFilter.java:362) 
 org.apache.struts.action.RequestProcessor.doForward(RequestProcessor.java:1063)   org.apache.struts.action.RequestProcessor.processForwardConfig(RequestProcessor.java:386)
  org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:229)   org.apache.struts.action.ActionServlet.process(ActionServlet.java:1194)
  org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:432)   javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
  javax.servlet.http.HttpServlet.service(HttpServlet.java:802)   org.netbeans.modules.web.monitor.server.MonitorFilter.doFilter(MonitorFilter.java:362)
 
>   
>   root cause 
> java.lang.NoClassDefFoundError: org/apache/jsp/MenuItems_jsp (wrong name: org/apache/jsp/menuitems_jsp)
  java.lang.ClassLoader.defineClass1(Native Method)   java.lang.ClassLoader.defineClass(ClassLoader.java:620)
  java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)   java.net.URLClassLoader.defineClass(URLClassLoader.java:260)
  java.net.URLClassLoader.access$100(URLClassLoader.java:56)   java.net.URLClassLoader$1.run(URLClassLoader.java:195)
  java.security.AccessController.doPrivileged(Native Method)   java.net.URLClassLoader.findClass(URLClassLoader.java:188)
  org.apache.jasper.servlet.JasperLoader.loadClass(JasperLoader.java:158)   org.apache.jasper.servlet.JasperLoader.loadClass(JasperLoader.java:71)
  org.apache.jasper.JspCompilationContext.load(JspCompilationContext.java:589)   org.apache.jasper.servlet.JspServletWrapper.getServlet(JspServletWrapper.java:137)
  org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:305)  
>  org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:291)   org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
  javax.servlet.http.HttpServlet.service(HttpServlet.java:802)   org.netbeans.modules.web.monitor.server.MonitorFilter.doFilter(MonitorFilter.java:362)
  org.apache.struts.action.RequestProcessor.doForward(RequestProcessor.java:1063)   org.apache.struts.action.RequestProcessor.processForwardConfig(RequestProcessor.java:386)
  org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:229)   org.apache.struts.action.ActionServlet.process(ActionServlet.java:1194)
  org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:432)   javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
  javax.servlet.http.HttpServlet.service(HttpServlet.java:802)   org.netbeans.modules.web.monitor.server.MonitorFilter.doFilter(MonitorFilter.java:362)
 
>
> Thanks and Regards,
>
> Lakshmi
>
>  				
> ---------------------------------
>  Here’s a new way to find what you're looking for - Yahoo! Answers 
>   


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Mime
View raw message