0 Replies Latest reply on Dec 6, 2011 11:17 AM by Jean ANDRE

    CDI and RichFaces - Which CDI is compatible ?

    Jean ANDRE Newbie

      I would like to know which CDI implementation is used in RichFaces because I download Weld (1.1)  and OpenWebBeans (1.1.2) and for both I got a class cast exception under RAD/WAS 8.0.0.4 - RAD 8 is supposed to use OpenWebBeans 1.0 but we got error and CDI is activated (a known problem of WAS8). Then which CDI implementation is compatible with Richfaces ? and is is possible to update richfaces to run version CDI 1.1 and above ?

       

      Caused by: java.lang.ClassCastException: Cannot cast class org.richfaces.cdi.push.PushCDIDependencyRegistrationExtension to interface javax.enterprise.inject.spi.Extension

          at java.lang.Class.cast(Class.java:1718)

          at java.util.ServiceLoader$ServiceIterator.next(ServiceLoader.java:195)