You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by achittela <as...@gmail.com> on 2009/09/04 17:20:28 UTC
The method setTest(boolean) in the type WhenTag is not applicable
for the arguments (String)
Hi,
I got the the below exception while i was accessing web application. I think
this issue is related to Tomcat 6.0.20. Did anyone have fix for this?
SEVERE: Servlet.service() for servlet debugjsp threw exception
org.apache.jasper.JasperException: Unable to compile class for JSP:
An error occurred at line: 45 in the jsp file: /cogadmin/addareas.jsp
The method setTest(boolean) in the type WhenTag is not applicable for the
arguments (String)
42: </td></tr>
43: </table>
44: <c:choose>
45: <c:when test="${CogBroadcastRights == null || cogId==null || cogId !=
CogBroadcastRights.cogId} }">
46: <p align="center">Your session has expired or an error has occured
please use
47: <html:link action="cogadmin/cogsearch">Cog Search Page</html:link>
48: to select a Cog to view
Stacktrace:
at
org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:92)
at
org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:330)
at
org.apache.jasper.compiler.JDTCompiler.generateClass(JDTCompiler.java:439)
at org.apache.jasper.compiler.Compiler.compile(Compiler.java:334)
at org.apache.jasper.compiler.Compiler.compile(Compiler.java:312)
at org.apache.jasper.compiler.Compiler.compile(Compiler.java:299)
at
org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:586)
at
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:317)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:342)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:267)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at
org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:646)
at
org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:551)
at
org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:488)
at
org.apache.jasper.runtime.JspRuntimeLibrary.include(JspRuntimeLibrary.java:968)
at
org.apache.jasper.runtime.PageContextImpl.include(PageContextImpl.java:621)
at org.apache.struts.tiles.TilesUtilImpl.doInclude(TilesUtilImpl.java:99)
at org.apache.struts.tiles.TilesUtil.doInclude(TilesUtil.java:135)
at org.apache.struts.taglib.tiles.InsertTag.doInclude(InsertTag.java:760)
at
org.apache.struts.taglib.tiles.InsertTag$InsertHandler.doEndTag(InsertTag.java:892)
at org.apache.struts.taglib.tiles.InsertTag.doEndTag(InsertTag.java:462)
at
org.apache.jsp.frame.common.main_layout_jsp._jspx_meth_tiles_005finsert_005f2(main_layout_jsp.java:280)
at
org.apache.jsp.frame.common.main_layout_jsp._jspService(main_layout_jsp.java:144)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:374)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:342)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:267)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at
org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:646)
at
org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:436)
at
org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:374)
at
org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:302)
at
org.apache.struts.action.RequestProcessor.doForward(RequestProcessor.java:1063)
at
org.apache.struts.tiles.TilesRequestProcessor.doForward(TilesRequestProcessor.java:263)
at
org.apache.struts.tiles.TilesRequestProcessor.processTilesDefinition(TilesRequestProcessor.java:239)
at
org.apache.struts.tiles.TilesRequestProcessor.processForwardConfig(TilesRequestProcessor.java:302)
at
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:229)
at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1194)
at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:525)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)
at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:849)
at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:454)
at java.lang.Thread.run(Unknown Source)
- ServletException in '/cogadmin/addareas.jsp': Unable to compile class for
JSP:
--
View this message in context: http://www.nabble.com/The-method-setTest%28boolean%29-in-the-type-WhenTag-is-not-applicable-for-the-arguments-%28String%29-tp25296381p25296381.html
Sent from the Tomcat - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
Re: The method setTest(boolean) in the type WhenTag is not
applicable for the arguments (String)
Posted by achittela <as...@gmail.com>.
Thanks Mark.
markt-2 wrote:
>
> achittela wrote:
>> Hi,
>>
>> I got the the below exception while i was accessing web application. I
>> think
>> this issue is related to Tomcat 6.0.20. Did anyone have fix for this?
>>
>> SEVERE: Servlet.service() for servlet debugjsp threw exception
>> org.apache.jasper.JasperException: Unable to compile class for JSP:
>>
>> An error occurred at line: 45 in the jsp file: /cogadmin/addareas.jsp
>> The method setTest(boolean) in the type WhenTag is not applicable for the
>> arguments (String)
>> 42: </td></tr>
>> 43: </table>
>> 44: <c:choose>
>> 45: <c:when test="${CogBroadcastRights == null || cogId==null || cogId
>> !=
>> CogBroadcastRights.cogId} }">
>
> Try removing the extra } ?
>
> Mark
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
>
>
--
View this message in context: http://www.nabble.com/The-method-setTest%28boolean%29-in-the-type-WhenTag-is-not-applicable-for-the-arguments-%28String%29-tp25296381p25296797.html
Sent from the Tomcat - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
Re: The method setTest(boolean) in the type WhenTag is not applicable
for the arguments (String)
Posted by Mark Thomas <ma...@apache.org>.
achittela wrote:
> Hi,
>
> I got the the below exception while i was accessing web application. I think
> this issue is related to Tomcat 6.0.20. Did anyone have fix for this?
>
> SEVERE: Servlet.service() for servlet debugjsp threw exception
> org.apache.jasper.JasperException: Unable to compile class for JSP:
>
> An error occurred at line: 45 in the jsp file: /cogadmin/addareas.jsp
> The method setTest(boolean) in the type WhenTag is not applicable for the
> arguments (String)
> 42: </td></tr>
> 43: </table>
> 44: <c:choose>
> 45: <c:when test="${CogBroadcastRights == null || cogId==null || cogId !=
> CogBroadcastRights.cogId} }">
Try removing the extra } ?
Mark
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org