Details
-
Type: Improvement
-
Status: Closed
-
Priority: Major
-
Resolution: Duplicate
-
Affects Version/s: EE-2.0.0.GA, 2.0.2
-
Fix Version/s: 3.0, EE-3.0.0.GA
-
Component/s: Framework
-
Labels:None
-
Environment:ICEfaces 2, MyFaces 2
-
Workaround Exists:Yes
-
Workaround Description:Use Mojarra version of JSF 2.0.
Description
MyFaces 2.0 does not currently work with ICEfaces 2.0 Alpha 3. When using the MyFaces 2.0 JSF implementation supplied by the Eclipse 3.6 ICEfaces 2.0 Alpha 3 plugin, the following exception is thrown in the server console on application start up:
SEVERE: failed to configure class org.icefaces.faces.renderkit.html_basic.MessagesRenderer
java.lang.NoClassDefFoundError: com/sun/faces/renderkit/html_basic/HtmlBasicRenderer
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClassCond(ClassLoader.java:632)
at java.lang.ClassLoader.defineClass(ClassLoader.java:616)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:141)
at org.apache.catalina.loader.WebappClassLoader.findClassInternal(WebappClassLoader.java:2527)
at org.apache.catalina.loader.WebappClassLoader.findClass(WebappClassLoader.java:1010)
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1483)
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1361)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:247)
I´ve also attached a screenshot of the ui:debug console error that appears in the view.
SEVERE: failed to configure class org.icefaces.faces.renderkit.html_basic.MessagesRenderer
java.lang.NoClassDefFoundError: com/sun/faces/renderkit/html_basic/HtmlBasicRenderer
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClassCond(ClassLoader.java:632)
at java.lang.ClassLoader.defineClass(ClassLoader.java:616)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:141)
at org.apache.catalina.loader.WebappClassLoader.findClassInternal(WebappClassLoader.java:2527)
at org.apache.catalina.loader.WebappClassLoader.findClass(WebappClassLoader.java:1010)
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1483)
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1361)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:247)
I´ve also attached a screenshot of the ui:debug console error that appears in the view.
Issue Links
- duplicates
-
ICE-5868 MyFaces 2 compatibility
- Closed
I'm editing the case slightly to make it more generic in supporting MyFaces 2 on ICEfaces 2 as it will be the parent case for more specific items.