MyFaces Tomahawk
  1. MyFaces Tomahawk
  2. TOMAHAWK-589

Remove JSP dependency from navmenu renderers

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.1.5-SNAPSHOT
    • Fix Version/s: 1.1.5
    • Component/s: JS Cook Menu
    • Labels:
      None
    • Environment:
      Solaris 10
      JDK 1.5.0_07
      Tomcat 5.5.17
      Facelets 1.1.11
      Sun JSF 1.2_01
      Tomahawk 1.1.5-SNAPSHOT

      Description

      When running Facelets + Tomahawk + Sun JSF 1.2_01 + Tomcat 5.x
      A NoClassDefFoundError [1] is raised when using any of the navmenu components.

      Note that this configuration works fine with the standard HTML components as the
      components and the renderes to not explictly reference UIComponentTag as
      these particular components do (specifically UIComponentTag.isValueReference()).

      I've attached a patch that resolves the issue in my environment.

      [1]
      <stacktrace>
      java.lang.NoClassDefFoundError: javax/servlet/jsp/tagext/JspIdConsumer
      java.lang.ClassLoader.defineClass1(Native Method)
      java.lang.ClassLoader.defineClass(ClassLoader.java:620)
      java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
      org.apache.catalina.loader.WebappClassLoader.findClassInternal(WebappClassLoader.java:1650)
      org.apache.catalina.loader.WebappClassLoader.findClass(WebappClassLoader.java:856)
      org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1305)
      org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1187)
      java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
      java.lang.ClassLoader.defineClass1(Native Method)
      java.lang.ClassLoader.defineClass(ClassLoader.java:620)
      java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
      org.apache.catalina.loader.WebappClassLoader.findClassInternal(WebappClassLoader.java:1650)
      org.apache.catalina.loader.WebappClassLoader.findClass(WebappClassLoader.java:856)
      org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1305)
      org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1187)
      java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
      org.apache.myfaces.custom.navmenu.jscookmenu.HtmlJSCookMenuRenderer.getString(HtmlJSCookMenuRenderer.java:326)
      </stacktrace>

        Activity

        Hide
        Mike Kienenberger added a comment -

        Fixed. Thanks!

        Show
        Mike Kienenberger added a comment - Fixed. Thanks!

          People

          • Assignee:
            Mike Kienenberger
            Reporter:
            Ryan Lubke
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development