tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gary Zhu" <g...@timeicr.com>
Subject Cannot compile jsp pages with log4j statements -- Tomcat 5.5.9
Date Fri, 12 Aug 2005 15:16:57 GMT
Hi all, 
 
I am having difficulties to figure out the solution for this issue. Jsp
pages with log4j logging statements that worked perfect on Tomcat 4.1.30
could not compile on Tomcat 5.5.9. I commented out the log4j statements
for these problematic pages, then, tomcat 5.5.9 could compile them.
 
Except commenting out all the log4j statements for the jsp pages in
order to run on Tomcat 5.5.9, does anyone have any other solutions?
 
Below is the JasperException message when attempting to compile JSP
pages with log4j statements:
 
 
org.apache.jasper.JasperException: Unable to compile class for JSP

An error occurred at line: 39 in the jsp file:
/sysco/agent_report_all_in.jsp
Generated servlet error:
agent_report_all_in_jsp cannot be resolved or is not a type


org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHa
ndler.java:84)
org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.ja
va:328)
org.apache.jasper.compiler.JDTCompiler.generateClass(JDTCompiler.java:39
7)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:288)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:267)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:255)
org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.ja
va:556)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.ja
va:293)
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)
 
Thanks
 
Gary

 

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message