Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
1.2.9-core
-
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="#
": 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.