WLW 10.3: NoSuchMethodError after upgrading a JSP page that uses org.apache.taglibs.standard.tag.rt.core.ForTokensTag.setItems! (Doc ID 1196640.1)

Last updated on DECEMBER 31, 2015

Applies to:

Oracle Workshop for Weblogic - Version 10.3 to 10.3 [Release AS10gR3]
Information in this document applies to any platform.
${WL_HOME}/common/deployable-libraries/jstl-1.2.war --> this library is the JSTL 1.2 library packed with WLS 10.3.
${WL_HOME}/common/deployable-libraries/jstl-1.1.2.war --> this library is the JSTL 1.1 library packaged with WLS 10.3.


Symptoms

A JSP upgraded from Workshop 8.1 SP6 to Workshop 10.3 was getting the below runtime ServletException:

<Aug 17, 2010 10:19:27 AM UTC> <Error> <HTTP> <BEA-101017> <[weblogic.servlet.internal.WebAppServletContext@140a941 - appName: 'Ear_abc', name: 'abc', context-path: '/abc', spec-version: '2.5', request: weblogic.servlet.internal.ServletRequestImpl@4b318f[......
.
.
Root cause of ServletException.
java.lang.NoSuchMethodError: org.apache.taglibs.standard.tag.rt.core.ForTokensTag.setItems(Ljava/lang/Object;)V
at jsp_servlet._afl.__j_afl_request._jsp__tag42(__j_afl_request.java:2013)
at jsp_servlet._afl.__j_afl_request._jspService(__j_afl_request.java:444)
at weblogic.servlet.jsp.JspBase.service(JspBase.java:34)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
Truncated. see log file for complete stacktrace

Changes

Upgrading the application from an earlier version of WebLogic Server can cause the issue.

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms