0 Replies Latest reply on May 3, 2004 9:55 AM by roelhernandez

    org.apache.jasper.JasperException: Unable to compile class f

    roelhernandez Newbie

      I'm runnig a JSP pages in JBOSS 3.2.1 and I got the following error:

      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: 138 in the jsp file: /UnidadDeMedidaTabla.jsp

      Generated servlet error:
      [javac] Compiling 1 source file
      [javac] /oracle/jboss-3.2.1/server/default/tmp/deploy/server/default/deploy/work/MainEngine/localhost/Sifpre/UnidadDeMedidaTabla_jsp.java:7: package ve.gov.onapre.sifpre.comun.unidadMedida.entity.helpers does not exist
      [javac] import ve.gov.onapre.sifpre.comun.unidadMedida.entity.helpers.*;
      [javac] ^
      [javac] /oracle/jboss-3.2.1/server/default/tmp/deploy/server/default/deploy/work/MainEngine/localhost/Sifpre/UnidadDeMedidaTabla_jsp.java:8: package ve.gov.onapre.sifpre.comun.unidadMedida.entity does not exist
      [javac] import ve.gov.onapre.sifpre.comun.unidadMedida.entity.*;
      [javac] ^
      [javac] /oracle/jboss-3.2.1/server/default/tmp/deploy/server/default/deploy/work/MainEngine/localhost/Sifpre/UnidadDeMedidaTabla_jsp.java:9: package ve.gov.onapre.sifpre.comun.unidadMedida.session does not exist
      [javac] import ve.gov.onapre.sifpre.comun.unidadMedida.session.*;
      [javac] ^
      [javac] /oracle/jboss-3.2.1/server/default/tmp/deploy/server/default/deploy/work/MainEngine/localhost/Sifpre/UnidadDeMedidaTabla_jsp.java:12: package helpers does not exist
      [javac] import helpers.*;
      [javac] ^
      [javac] /oracle/jboss-3.2.1/server/default/tmp/deploy/server/default/deploy/work/MainEngine/localhost/Sifpre/UnidadDeMedidaTabla_jsp.java:126: cannot resolve symbol
      [javac] symbol : class DelegadoUnidadMedida
      [javac] location: class org.apache.jsp.UnidadDeMedidaTabla_jsp
      [javac] Vector unidadesDeMedida = (Vector)new DelegadoUnidadMedida().findAllUnidadMedida();
      [javac] ^



      An error occurred at line: 138 in the jsp file: /UnidadDeMedidaTabla.jsp

      Generated servlet error:
      [javac] /oracle/jboss-3.2.1/server/default/tmp/deploy/server/default/deploy/work/MainEngine/localhost/Sifpre/UnidadDeMedidaTabla_jsp.java:127: cannot resolve symbol
      [javac] symbol : class UnidadMedidaData
      [javac] location: class org.apache.jsp.UnidadDeMedidaTabla_jsp
      [javac] UnidadMedidaData umd= null;
      [javac] ^



      An error occurred at line: 141 in the jsp file: /UnidadDeMedidaTabla.jsp

      Generated servlet error:
      [javac] /oracle/jboss-3.2.1/server/default/tmp/deploy/server/default/deploy/work/MainEngine/localhost/Sifpre/UnidadDeMedidaTabla_jsp.java:129: cannot resolve symbol
      [javac] symbol : class UnidadMedidaData
      [javac] location: class org.apache.jsp.UnidadDeMedidaTabla_jsp
      [javac] umd =(UnidadMedidaData)unidadesDeMedida.elementAt(i);
      [javac] ^
      [javac] 7 errors



      at org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java(Compiled Code))
      at org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java(Compiled Code))
      at org.apache.jasper.compiler.Compiler.generateClass(Compiler.java(Compiled Code))
      at org.apache.jasper.compiler.Compiler.compile(Compiler.java:370)
      at org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:473)
      at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:190)
      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(Compiled Code))
      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:256)
      at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.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:191)
      at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java(Compiled Code))
      at org.apache.catalina.valves.CertificatesValve.invoke(CertificatesValve.java:246)
      at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.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.StandardContext.invoke(StandardContext.java:2415)
      at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)
      at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java(Compiled Code))
      at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:171)
      at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java(Compiled Code))
      at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:172)
      at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java(Compiled Code))
      at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:509)
      at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.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$StandardPipelineValveContext.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.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java(Compiled Code))
      at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java(Compiled Code))
      at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java(Compiled Code))
      at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java(Compiled Code))
      at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:619)
      at java.lang.Thread.run(Thread.java:566)



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

      Apache Tomcat/4.1.24-LE-jdk14

      I put into $JBOSS_HOME/server/default/deploy a .jar file that contains all classes needed, including ve.gov.onapre.sifpre.comun.unidadMedida.entity.helpers.* who give the errors.

      I'm new user of Jboss.