Uploaded image for project: 'Struts 2'
  1. Struts 2
  2. WW-2048

[2.0.8] AnchorTag has no setter method corresponding to TLD declared attribute 'onLoadJS'

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Blocker
    • Resolution: Fixed
    • 2.0.8
    • 2.0.10
    • Unit Tests
    • None
    • Weblogic 8.1 SP4, JRockit 1.4.2_07

    Description

      Hello,

      I'm still having this issue:

      Parsing of JSP File '/pages/login.jsp' failed: /pages/login.jsp(2): Error in using tag library uri='/struts-tags' prefix='s': The Tag class 'org.apache.struts2.views.jsp.ui.AnchorTag' has no setter method corresponding to TLD declared attribute 'onLoadJS', (JSP 1.1 spec, 5.4.1)
      probably occurred due to an error in /pages/login.jsp line 2:
      <%@ taglib prefix="s" uri="/struts-tags"%>

      Using fresh download of struts-2.0.8-j4.zip (Java 4 ready JAR's) and on Weblogic 8.1 SP4, JRockIt 1.4.2_07 (production platform).

      As told on issue WW-1697, unpacking the .jar and editing the .tld is possible, but is only a work-around, as we need to do this again and again as well as we will upgrade our Struts 2 jar.

      Attachments

        Activity

          People

            Unassigned Unassigned
            maxxyme maxxyme
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: