<p dir="auto"><strong><a href="https://jira.spring.io/secure/ViewProfile.jspa?name=jwalakompalli" rel="nofollow">Jwala Kompalli</a></strong> opened <strong><a href="https://jira.spring.io/browse/SPR-5560?redirect=false" rel="nofollow">SPR-5560</a></strong> and commented</p>
<p dir="auto">Hello,</p>
<p dir="auto">I have an existing application usign spring version 1.2.6 deployed and perfectly working on on Sun server 8.1.<br>
When I am trying to deploy the same applciation on Sunserver 9.1, I am getting the below exception:</p>
<p dir="auto">sun-appserver9.1|javax.enterprise.system.stream.out|_ThreadID=21;_ThreadName=httpSSLWorkerThread-8080-0;|ERROR [BindTag.doStartTag 75] org.apache.taglibs.standard.lang.jstl.ImplicitObjects<br>
java.lang.ClassCastException: org.apache.taglibs.standard.lang.jstl.ImplicitObjects<br>
at javax.servlet.jsp.el.ImplicitObjectELResolver$ImplicitObjects.getImplicitObjects(ImplicitObjectELResolver.java:592)<br>
at javax.servlet.jsp.el.ImplicitObjectELResolver.getValue(ImplicitObjectELResolver.java:153)<br>
at javax.el.CompositeELResolver.getValue(CompositeELResolver.java:143)<br>
at com.sun.el.parser.AstIdentifier.getValue(AstIdentifier.java:86)<br>
at com.sun.el.parser.AstMinus.getValue(AstMinus.java:55)<br>
at com.sun.el.parser.AstPlus.getValue(AstPlus.java:55)<br>
at com.sun.el.parser.AstDynamicExpression.getValue(AstDynamicExpression.java:59)<br>
at com.sun.el.parser.AstCompositeExpression.getValue(AstCompositeExpression.java:64)<br>
at com.sun.el.ValueExpressionImpl.getValue(ValueExpressionImpl.java:206)<br>
at org.apache.jasper.runtime.ExpressionEvaluatorImpl.evaluate(ExpressionEvaluatorImpl.java:121)<br>
at org.springframework.web.util.ExpressionEvaluationUtils$Jsp20ExpressionEvaluationHelper.evaluate(ExpressionEvaluationUtils.java:216)</p>
<p dir="auto">Can anyone throw any idea to solve this?</p>
<hr>
<p dir="auto">No further details from <a href="https://jira.spring.io/browse/SPR-5560?redirect=false" rel="nofollow">SPR-5560</a></p>
<p dir="auto"><strong><a href="https://jira.spring.io/secure/ViewProfile.jspa?name=christianleskowsky" rel="nofollow">Christian Leskowsky</a></strong> opened <strong><a href="https://jira.spring.io/browse/SPR-3563?redirect=false" rel="nofollow">SPR-3563</a></strong> and commented</p>
<p dir="auto">See <a href="http://opensource.atlassian.com/projects/spring/browse/SPR-2628" rel="nofollow">http://opensource.atlassian.com/projects/spring/browse/SPR-2628</a> for more history.</p>
<p dir="auto">Here's the exception I'm seeing in Tomcat 5.5.23 (Websphere 6.1/DB2 running our application fails similarly)...</p>
<p dir="auto">exception<br>
org.apache.jasper.JasperException: org.apache.taglibs.standard.lang.jstl.ImplicitObjects<br>
org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:476)<br>
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:389)<br>
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:315)<br>
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:265)<br>
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)</p>
<p dir="auto">root cause<br>
java.lang.ClassCastException: org.apache.taglibs.standard.lang.jstl.ImplicitObjects<br>
org.apache.commons.el.ImplicitObjects.getImplicitObjects(ImplicitObjects.java:123)<br>
org.apache.commons.el.VariableResolverImpl.resolveVariable(VariableResolverImpl.java:125)<br>
org.apache.jasper.runtime.PageContextImpl.resolveVariable(PageContextImpl.java:854)<br>
org.apache.commons.el.NamedValue.evaluate(NamedValue.java:124)<br>
org.apache.commons.el.ComplexValue.evaluate(ComplexValue.java:140)<br>
org.apache.commons.el.ExpressionEvaluatorImpl.evaluate(ExpressionEvaluatorImpl.java:263)<br>
org.apache.commons.el.ExpressionEvaluatorImpl.evaluate(ExpressionEvaluatorImpl.java:190)<br>
org.springframework.web.util.ExpressionEvaluationUtils$Jsp20ExpressionEvaluationHelper.evaluate(ExpressionEvaluationUtils.java:398)<br>
org.springframework.web.util.ExpressionEvaluationUtils.doEvaluate(ExpressionEvaluationUtils.java:270)<br>
org.springframework.web.util.ExpressionEvaluationUtils.evaluateString(ExpressionEvaluationUtils.java:186)<br>
org.springframework.web.servlet.tags.MessageTag.resolveMessage(MessageTag.java:215)<br>
org.springframework.web.servlet.tags.MessageTag.doStartTagInternal(MessageTag.java:165)<br>
org.springframework.web.servlet.tags.RequestContextAwareTag.doStartTag(RequestContextAwareTag.java:77)<br>
org.apache.jsp.a_jsp._jspx_meth_spring_005fmessage_005f0(a_jsp.java:177)<br>
org.apache.jsp.a_jsp._jspx_meth_c_005fif_005f0(a_jsp.java:148)<br>
org.apache.jsp.a_jsp._jspService(a_jsp.java:78)<br>
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:98)<br>
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)<br>
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:328)<br>
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:315)<br>
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:265)<br>
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)</p>
<hr>
<p dir="auto"><strong>Affects:</strong> 2.0.2</p>
<p dir="auto"><strong>Attachments:</strong></p>
<ul dir="auto">
<li><a href="https://jira.spring.io/secure/attachment/12649/spring-fun.war" rel="nofollow">spring-fun.war</a> (<em>2.44 MB</em>)</li>
</ul>
<p dir="auto">1 votes, 0 watchers</p>