• Post Reply Bookmark Topic Watch Topic
  • New Topic

javac error JSTL on jboss  RSS feed

 
baskar Ganapathi
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi

I am using JSTL 1.1 on jboss-3.2.5.Afetr deploying the application when i try to access the application it throws javac error like

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

An error occurred at line: 26 in the jsp file: /jsp/Login.jsp
Generated servlet error:
C:\jboss-3.2.5\server\default\work\jboss.web\localhost\rlm\org\apache\jsp\jsp\Login_jsp.java:229: _jspx_meth_c_when_0(javax.servlet.jsp.tagext.JspTag,javax.servlet.jsp.PageContext) in org.apache.jsp.jsp.Login_jsp cannot be applied to (org.apache.taglibs.standard.tag.common.core.ChooseTag,javax.servlet.jsp.PageContext)
if (_jspx_meth_c_when_0(_jspx_th_c_choose_0, _jspx_page_context))
^


An error occurred at line: 26 in the jsp file: /jsp/Login.jsp
Generated servlet error:
C:\jboss-3.2.5\server\default\work\jboss.web\localhost\rlm\org\apache\jsp\jsp\Login_jsp.java:233: _jspx_meth_c_when_1(javax.servlet.jsp.tagext.JspTag,javax.servlet.jsp.PageContext) in org.apache.jsp.jsp.Login_jsp cannot be applied to (org.apache.taglibs.standard.tag.common.core.ChooseTag,javax.servlet.jsp.PageContext)
if (_jspx_meth_c_when_1(_jspx_th_c_choose_0, _jspx_page_context))
^


An error occurred at line: 26 in the jsp file: /jsp/Login.jsp
Generated servlet error:
C:\jboss-3.2.5\server\default\work\jboss.web\localhost\rlm\org\apache\jsp\jsp\Login_jsp.java:237: _jspx_meth_c_when_2(javax.servlet.jsp.tagext.JspTag,javax.servlet.jsp.PageContext) in org.apache.jsp.jsp.Login_jsp cannot be applied to (org.apache.taglibs.standard.tag.common.core.ChooseTag,javax.servlet.jsp.PageContext)
if (_jspx_meth_c_when_2(_jspx_th_c_choose_0, _jspx_page_context))


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:412)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:472)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:451)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:439)
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:810)

any one come accross the problem before?

Thanks
Baskar G
 
Merrill Higginson
Ranch Hand
Posts: 4864
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It would be helpful if you would post what is on line 26 of Login.jsp. That's where the compile error is occurring.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!