*
The moose likes JSP and the fly likes javac error JSTL on jboss Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSP
Bookmark "javac error JSTL on jboss" Watch "javac error JSTL on jboss" New topic
Author

javac error JSTL on jboss

baskar Ganapathi
Greenhorn

Joined: Mar 13, 2007
Posts: 1
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

Joined: Feb 15, 2005
Posts: 4864
It would be helpful if you would post what is on line 26 of Login.jsp. That's where the compile error is occurring.


Merrill
Consultant, Sima Solutions
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: javac error JSTL on jboss
 
Similar Threads
JSP error in Jboss
errors while using html:form tag
Struts problem using JBoss 4.0.0
Problem in jsp (Struts tags)
cewolf problem in jboss