As we transition to the new Hyland Community, some post links may be temporarily disrupted as we finalize redirects. We apologize for the inconvenience and are working to resolve this as quickly as possible. Details.
java.lang.NoSuchMethodError: javax.el.ExpressionFactory.newInstance()Ljavax/el/ExpressionFactory; at org.activiti.engine.impl.el.ExpressionManager.<init>(ExpressionManager.java:55) at org.activiti.engine.impl.cfg.ProcessEngineConfiguration.<init>(ProcessEngineConfiguration.java:164) at org.activiti.engine.impl.cfg.spring.ProcessEngineFactoryBean.<init>(ProcessEngineFactoryBean.java:51)
java.lang.LinkageError: loader constraint violation: when resolving interface method "javax.servlet.jsp.JspApplicationContext.getExpressionFactory()Ljavax/el/ExpressionFactory;" the class loader (instance of org/apache/catalina/loader/WebappClassLoader) of the current class, com/sun/faces/config/ConfigureListener, and the class loader (instance of org/apache/catalina/loader/StandardClassLoader) for resolved class, javax/servlet/jsp/JspApplicationContext, have different Class objects for the type javax/el/ExpressionFactory used in the signature<br> at com.sun.faces.config.ConfigureListener.registerELResolverAndListenerWithJsp(ConfigureListener.java:581)<br> at com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:212)<br> at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3972)
Important to note is that the juel:juel-impl jar in the JBoss Maven repository is not "clean", e.g. it contains both the EL 2.2 API and the javax.el.ExpressionFactory service file. As a consequency, no custom ExpressionFactory implementation can be provided by an application (see below) in a safe, deterministic way, as then, multiple javax.el.ExpressionFactory service files would exist on the class path. Therefore, the de.odysseus.juel:juel-impl dependency must be used (see above), which is - unfortunately - not available from any public Maven repository, so it has to be uploaded to e.g. the Activiti Maven repo at Alfresco (I can provide the jars, if needed).
The juel-impl jar we use (juel:juel-impl, from alfresco nexus, not sure where it is mirrored from) doesn't contain any javax.el.* classes, only de.oddysseus.* and the service file in /META-INF/services/. Or do you mean that the de.odysseus.juel:juel-impl doesn't contain a service-file?