Uploaded image for project: 'MyFaces Trinidad'
  1. MyFaces Trinidad
  2. TRINIDAD-1215

org.apache.myfaces.trinidadinternal.menu.MenuNode has a dependency on javax.faces.webapp.UIComponentTag

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.2.9-core
    • 1.2.10-core
    • Components
    • None
    • MyFaces 1.2.3, Trinidad 1.2.9, Facelets 1.1.14

    Description

      A NoClassDefFoundError occurs when using a tr:commandNavigationItem inside a tr:navigationPane tag to render a org.apache.myfaces.trinidad.model.XMLMenuModel. when using Facelets in a non-JSP 2.1 container.

      This is the output from Facelets:
      /menu.xhtml @15,66 text="#

      {menuItem.label}

      ": oracle.classloader.util.AnnotatedNoClassDefFoundError: Missing class: javax.servlet.jsp.tagext.JspIdConsumer Dependent class: javax.faces.webapp.UIComponentClassicTagBase Loader: current-workspace-app.web.faceletMenuDemo:0.0.0 Code-Source: /develop/java/jakarta/myfaces-core-1.2.3/lib/myfaces-api-1.2.3.jar Configuration: <classpath> in /Users/richard/sandbox/faceletMenuDemo/java/src/web The missing class is not available from any code-source or loader in the system.

      The result is that the Trinidad XMLMenuModel cannot be used with Facelets in a non JSP 2.1 appserver.

      Attachments

        1. patch.diff
          9 kB
          Felix Röthenbacher

        Activity

          People

            matzew Matthias Wessendorf
            ryee Richard Yee
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: