dcsimg
Help with org.apache.jasper.JasperException
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Anonymous
Posted On:   Thursday, March 7, 2002 08:58 AM

I have installed Tomcat 4.0.3 on a Windows Nt. When I try to load a JSP page from other JSP I get the follow error: exception org.apache.jasper.JasperException: No se puede compilar la clase para JSP F:Archivos de programaApache Tomcat 4.0worklocalhostmarotLogonvalidaUsuario$jsp.java:8: Class or interface declaration expected. import javax.servlet.*; ^ F:Archivos de programaApache Tomcat 4.0worklocalhostmarotLogonvalidaUsuario$jsp.java:14: Superclass org.apache.jsp.HttpJspBase of class org.apache.jsp.validaUsuario$jsp not found. public class validaUsuario$jsp extends HttpJspBase { ^ 2 errors    More>>

I have installed Tomcat 4.0.3 on a Windows Nt. When I try to load a JSP page from other JSP I get the follow error:


exception

org.apache.jasper.JasperException: No se puede compilar la clase para JSP

F:Archivos de programaApache Tomcat 4.0worklocalhostmarotLogonvalidaUsuario$jsp.java:8: Class or interface declaration expected.

import javax.servlet.*;

^

F:Archivos de programaApache Tomcat 4.0worklocalhostmarotLogonvalidaUsuario$jsp.java:14: Superclass org.apache.jsp.HttpJspBase of class org.apache.jsp.validaUsuario$jsp not found.

public class validaUsuario$jsp extends HttpJspBase {


^
2 errors



at org.apache.jasper.compiler.Compiler.compile(Compiler.java, Compiled Code)

at org.apache.jasper.servlet.JspServlet.loadJSP(JspServlet.java:552)

at org.apache.jasper.servlet.JspServlet$JspServletWrapper.loadIfNecessary(JspServlet.java:177)

at org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.java:189)

at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:382)

at org.apache.jasper.servlet.JspServlet.service(JspServlet.java, Compiled Code)

at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)

at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)

at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:243)

at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java, Compiled Code)

at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java, Compiled Code)

at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java, Compiled Code)

at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:190)

at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java, Compiled Code)

at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java, Compiled Code)

at org.apache.catalina.core.StandardContext.invoke(StandardContext.java, Compiled Code)

at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)

at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java, Compiled Code)

at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:170)

at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java, Compiled Code)

at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:170)

at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java, Compiled Code)

at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java, Compiled Code)

at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java, Compiled Code)

at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java, Compiled Code)

at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java, Compiled Code)

at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174)

at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java, Compiled Code)

at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java, Compiled Code)

at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java, Compiled Code)

at org.apache.catalina.connector.http.HttpProcessor.process(HttpProcessor.java, Compiled Code)

at org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java, Compiled Code)

at java.lang.Thread.run(Thread.java:479)

   <<Less

Re: Help with org.apache.jasper.JasperException

Posted By:   AlessandroA_Garbagnati  
Posted On:   Thursday, March 7, 2002 10:24 AM

Juan,

The error is strange... can you post your jsp file (be careful to format it correctly...).

Thanks.
About | Sitemap | Contact