主题: jsp图片上传求助,报错代码。
作者: 冷沨, 发布日期: 2011-06-17 17:02:32, 浏览数: 4985

Servlet.service() for servlet debugjsp threw exception
org.apache.jasper.JasperException: Unable to compile class for JSP

 

An error occurred at line: 93 in the jsp file: /jsp/upload_json.jsp
Generated servlet error:
The method put(Object, Object) in the type HashMap is not applicable for the arguments (String, int)

An error occurred at line: 8 in the jsp file: /jsp/upload_json.jsp
Generated servlet error:
Syntax error on token "<", delete this token


 at org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:84)
 at org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:328)
 at org.apache.jasper.compiler.JDTCompiler.generateClass(JDTCompiler.java:397)
 at org.apache.jasper.compiler.Compiler.compile(Compiler.java:288)
 at org.apache.jasper.compiler.Compiler.compile(Compiler.java:267)
 at org.apache.jasper.compiler.Compiler.compile(Compiler.java:255)
 at org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:556)
 at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:293)
 at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:291)
 at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
 at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
 at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
 at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
 at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
 at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
 at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
 at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
 at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
 at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:856)
 at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:744)
 at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
 at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
 at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
 at java.lang.Thread.run(Thread.java:595)

 

 

前台提示 服务器故障

发表新帖 发表回复