Atmosphere 2.3.4/2.3.5 and PrimeFaces 5.3.RC2

UI Components for JSF
Post Reply
Miguel Cubells
Posts: 99
Joined: 25 Feb 2015, 11:02

10 Oct 2015, 07:22

Trying to upgrade to PF 5.3.RC2 from PF 5.2 , found the following problem during application startup:

Code: Select all

[org.jboss.modules] (MSC service thread 1-8) Failed to define class org.primefaces.push.inject.PathParamIntrospector
Caused by: java.lang.ClassNotFoundException: org.atmosphere.inject.PathParamIntrospector
It turns out that in PF 5.3.RC2 , the class PathParamIntrospector extends from Atmosphere's PathParamIntrospector,
but it seems this class does not exist at all in Atmosphere 2.3.4 / 2.3.5.

Code: Select all

/**
 * {@link PathParam} injection support.
 *
 * @author Jeanfrancois Arcand
 */
@RequestScoped({PathParam.class})
public class PathParamIntrospector extends org.atmosphere.inject.PathParamIntrospector {

    @Override
    public void introspectField(Class clazz, Field f) {
        if (f.isAnnotationPresent(PathParam.class)) {
            String name = f.getAnnotation(PathParam.class).value();

            if (name.isEmpty()) {
                name = f.getName();
            }
            pathLocal.set(name);
        }
    }

}
Therefore the question is : Is PrimeFaces 5.3.RC2 ONLY compatible with Atmosphere 2.4.x ??
PrimeFaces 6.1 / PF Extensions 6.1.1 / Atmosphere 2.4.3
Apache Mojarra 2.2.13+
WildFly 10.1.0.Final

smithh032772
Posts: 6144
Joined: 10 Sep 2011, 21:10

13 Oct 2015, 01:27

Miguel Cubells wrote:Therefore the question is : Is PrimeFaces 5.3.RC2 ONLY compatible with Atmosphere 2.4.x ??
Yes.
Howard

PrimeFaces 6.0, Extensions 6.0.0, Push (Atmosphere 2.4.0)
TomEE+ 1.7.4 (Tomcat 7.0.68), MyFaces Core 2.2.9, JDK8
JUEL 2.2.7 | OmniFaces | EclipseLink-JPA/Derby | Chrome

Java EE 6 Tutorial|NetBeans|Google|Stackoverflow|PrimeFaces|Apache

Post Reply

Return to “PrimeFaces”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 50 guests