编译jsp出现问题,请大家请叫!!!!

superren1
07-10-06 2 193

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

Generated servlet error:
C:\tomcat5\work\Catalina\localhost\jivejdon3\org\apache\jsp\forum\forumList_jsp.java:260: _jspx_meth_bean_write_2(javax.servlet.jsp.tagext.JspTag,javax.servlet.jsp.PageContext) in org.apache.jsp.forum.forumList_jsp cannot be applied to (org.apache.struts.taglib.logic.IterateTag,javax.servlet.jsp.PageContext)
if (_jspx_meth_bean_write_2(_jspx_th_logic_iterate_0, _jspx_page_context))
^
Generated servlet error:
C:\tomcat5\work\Catalina\localhost\jivejdon3\org\apache\jsp\forum\forumList_jsp.java:341: _jspx_meth_html_img_6(javax.servlet.jsp.tagext.JspTag,javax.servlet.jsp.PageContext) in org.apache.jsp.forum.forumList_jsp cannot be applied to (org.apache.struts.taglib.logic.IterateTag,javax.servlet.jsp.PageContext)
if (_jspx_meth_html_img_6(_jspx_th_logic_iterate_1, _jspx_page_context))
^

Generated servlet error:
C:\tomcat5\work\Catalina\localhost\jivejdon3\org\apache\jsp\forum\forumList_jsp.java:957: _jspx_meth_bean_write_3(javax.servlet.jsp.tagext.JspTag,javax.servlet.jsp.PageContext) in org.apache.jsp.forum.forumList_jsp cannot be applied to (org.apache.struts.taglib.html.LinkTag,javax.servlet.jsp.PageContext)
if (_jspx_meth_bean_write_3(_jspx_th_html_link_3, _jspx_page_context))
^
21 errors

org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:84)
org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:332)
org.apache.jasper.compiler.Compiler.generateClass(Compiler.java:437)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:497)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:476)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:464)
org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:511)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:295)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
org.apache.struts.action.RequestProcessor.doForward(RequestProcessor.java:1056)
org.apache.struts.action.RequestProcessor.processForwardConfig(RequestProcessor.java:388)
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:231)
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1164)
org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:397)
javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
com.jdon.util.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:92)

superren1
2007-10-06 22:49

我用的版本是jivejdon3 在tomcat 5下编译出现上面的问题,不知道问题在那里 ,请大家指教

banq
2007-10-07 18:20

编译jsp出错一般都是IDE本身问题。

失效jsp编译,直接部署到服务器,如果运行jsp出错,贴出log记录,才能找到问题。