Hi gurus,
help me to solve this strange problem at my project. The rodrigo2.jsp file (
CODE BELOW ) runs fine in JDeveloper but returns an strange exception in
TomCat 4.1.18. This jsp app creates a reference to a java bean, named DICA,
which is instanced by an previous servlet. What does this message mean?
Should i configure anything else in my TomCat?
Thanks in advance,
Euclides.


HTTP Status 500 - 

----------------------------------------------------------------------------
----

type Exception report

message 

description The server encountered an internal error () that prevented it
from fulfilling this request.

exception 

org.apache.jasper.JasperException: Unable to compile class for JSP

An error occurred at line: 12 in the jsp file: /rodrigo2.jsp

Generated servlet error:
    [javac] Compiling 1 source file

C:\jakarta-tomcat-4.1.18\work\Standalone\wtrjo210\_\rodrigo2_jsp.java:54:
cannot resolve symbol
symbol  : class Dica 
location: class org.apache.jsp.rodrigo2_jsp
      Dica dica = null;
      ^



An error occurred at line: 12 in the jsp file: /rodrigo2.jsp

Generated servlet error:
C:\jakarta-tomcat-4.1.18\work\Standalone\wtrjo210\_\rodrigo2_jsp.java:56:
cannot resolve symbol
symbol  : class Dica 
location: class org.apache.jsp.rodrigo2_jsp
        dica = (Dica) pageContext.getAttribute("dica",
PageContext.PAGE_SCOPE);
                ^



An error occurred at line: 12 in the jsp file: /rodrigo2.jsp

Generated servlet error:
C:\jakarta-tomcat-4.1.18\work\Standalone\wtrjo210\_\rodrigo2_jsp.java:59:
cannot resolve symbol
symbol  : class Dica 
location: class org.apache.jsp.rodrigo2_jsp
            dica = (Dica)
java.beans.Beans.instantiate(this.getClass().getClassLoader(), "Dica");
                    ^



An error occurred at line: 44 in the jsp file: /rodrigo2.jsp

Generated servlet error:
C:\jakarta-tomcat-4.1.18\work\Standalone\wtrjo210\_\rodrigo2_jsp.java:100:
cannot resolve symbol
symbol  : class Dica 
location: class org.apache.jsp.rodrigo2_jsp
    dica = (Dica)pega.next(); 
            ^



An error occurred at line: 45 in the jsp file: /rodrigo2.jsp

Generated servlet error:
C:\jakarta-tomcat-4.1.18\work\Standalone\wtrjo210\_\rodrigo2_jsp.java:105:
cannot resolve symbol
symbol  : class Dica 
location: class org.apache.jsp.rodrigo2_jsp
 
out.print(JspRuntimeLibrary.toString((((Dica)pageContext.findAttribute("dica
")).getNM_DICA())));
                                              ^



An error occurred at line: 47 in the jsp file: /rodrigo2.jsp

Generated servlet error:
C:\jakarta-tomcat-4.1.18\work\Standalone\wtrjo210\_\rodrigo2_jsp.java:111:
cannot resolve symbol
symbol  : class Dica 
location: class org.apache.jsp.rodrigo2_jsp
 
out.print(JspRuntimeLibrary.toString((((Dica)pageContext.findAttribute("dica
")).getTE_DESCRICAO_DICA())));
                                              ^



An error occurred at line: 48 in the jsp file: /rodrigo2.jsp

Generated servlet error:
C:\jakarta-tomcat-4.1.18\work\Standalone\wtrjo210\_\rodrigo2_jsp.java:114:
cannot resolve symbol
symbol  : class Dica 
location: class org.apache.jsp.rodrigo2_jsp
 
out.print(JspRuntimeLibrary.toString((((Dica)pageContext.findAttribute("dica
")).getTE_BENEFICIO())));
                                              ^



An error occurred at line: 49 in the jsp file: /rodrigo2.jsp

Generated servlet error:
C:\jakarta-tomcat-4.1.18\work\Standalone\wtrjo210\_\rodrigo2_jsp.java:117:
cannot resolve symbol
symbol  : class Dica 
location: class org.apache.jsp.rodrigo2_jsp
 
out.print(JspRuntimeLibrary.toString((((Dica)pageContext.findAttribute("dica
")).getTE_CONTEXTUALIZACAO())));
                                              ^



An error occurred at line: 50 in the jsp file: /rodrigo2.jsp

Generated servlet error:
C:\jakarta-tomcat-4.1.18\work\Standalone\wtrjo210\_\rodrigo2_jsp.java:122:
cannot resolve symbol
symbol  : class Dica 
location: class org.apache.jsp.rodrigo2_jsp
 
out.print(JspRuntimeLibrary.toString((((Dica)pageContext.findAttribute("dica
")).getNM_AUTOR())));
                                              ^
9 errors


        at
org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandle
r.java:130)
        at
org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:2
93)
        at
org.apache.jasper.compiler.Compiler.generateClass(Compiler.java:340)
        at org.apache.jasper.compiler.Compiler.compile(Compiler.java:352)
        at
org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:4
74)
        at
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:1
84)
        at
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)
        at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
        at
org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.
java:684)
        at
org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatch
er.java:432)
        at
org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher
.java:356)
        at BancoServlet.recuperaDicaTopico(BancoServlet.java:135)
        at BancoServlet.service(BancoServlet.java:65)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
        at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application
FilterChain.java:247)
        at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
ain.java:193)
        at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.ja
va:260)
        at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
eNext(StandardPipeline.java:643)
        at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
        at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
        at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.ja
va:191)
        at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
eNext(StandardPipeline.java:643)
        at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
        at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
        at
org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2415)
        at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180
)
        at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
eNext(StandardPipeline.java:643)
        at
org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.
java:170)
        at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
eNext(StandardPipeline.java:641)
        at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:172
)
        at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
eNext(StandardPipeline.java:641)
        at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
        at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
        at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java
:174)
        at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
eNext(StandardPipeline.java:643)
        at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
        at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
        at
org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:223)
        at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:432)
        at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConne
ction(Http11Protocol.java:386)
        at
org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:534)
        at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.jav
a:530)
        at java.lang.Thread.run(Thread.java:536)
----------------------------------------------------------------------------
----

Apache Tomcat/4.1.18 <<rodrigo2.jsp>> 

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to