myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ryan Lubke (JIRA)" <...@myfaces.apache.org>
Subject [jira] Created: (TOMAHAWK-589) Remove JSP dependency from navmenu renderers
Date Wed, 09 Aug 2006 23:59:13 GMT
Remove JSP dependency from navmenu renderers
--------------------------------------------

                 Key: TOMAHAWK-589
                 URL: http://issues.apache.org/jira/browse/TOMAHAWK-589
             Project: MyFaces Tomahawk
          Issue Type: Bug
          Components: JS Cook Menu
    Affects Versions: 1.1.5-SNAPSHOT
         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
            Reporter: Ryan Lubke
         Attachments: patch.txt

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>

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message