tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From 文宝殷 <supe...@gmail.com>
Subject jsp compile error(The primitive type int of does not have a field javax)
Date Wed, 06 Apr 2011 07:28:40 GMT
Hi,

Is there anyone met this kind of error.  please see the error stack below.

very tricky,it doesn't always happen, we met it seldom after our server run
for a period.
and the red section is not confused, i don't know what's the meaning
exactly.
i've looked into the generated java file, the lines error stack mentioned
are just writing "\r\n".

tomcat version:6.0.26, JVM version:1.6.

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

An error occurred at line: 114 in the generated java file
The primitive type int of  does not have a field javax

An error occurred at line: 133 in the generated java file
The primitive type int of  does not have a field javax

An error occurred at line: 152 in the generated java file
The primitive type int of  does not have a field javax

An error occurred at line: 171 in the generated java file
The primitive type int of  does not have a field javax

Stacktrace:

org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:92)

org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:330)

org.apache.jasper.compiler.JDTCompiler.generateClass(JDTCompiler.java:439)
    org.apache.jasper.compiler.Compiler.compile(Compiler.java:349)
    org.apache.jasper.compiler.Compiler.compile(Compiler.java:327)
    org.apache.jasper.compiler.Compiler.compile(Compiler.java:314)

org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:589)

org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:317)
    org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:313)
    org.apache.jasper.servlet.JspServlet.service(JspServlet.java:260)
    javax.servlet.http.HttpServlet.service(HttpServlet.java:717)

org.apache.taglibs.standard.tag.common.core.ImportSupport.acquireString(ImportSupport.java:296)

org.apache.taglibs.standard.tag.common.core.ImportSupport.doEndTag(ImportSupport.java:161)

org.apache.jsp.master_jsp._jspx_meth_c_005fimport_005f0(master_jsp.java:1382)
    org.apache.jsp.master_jsp._jspService(master_jsp.java:256)
    org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
    javax.servlet.http.HttpServlet.service(HttpServlet.java:717)

org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:377)
    org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:313)
    org.apache.jasper.servlet.JspServlet.service(JspServlet.java:260)
    javax.servlet.http.HttpServlet.service(HttpServlet.java:717)*

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