09-14-2010 07:53 AM
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)
09-14-2010 08:20 AM
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
at com.sun.faces.config.ConfigureListener.registerELResolverAndListenerWithJsp(ConfigureListener.java:581)
at com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:212)
at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3972)
09-15-2010 06:52 AM
09-15-2010 06:52 AM
09-16-2010 04:29 AM
09-21-2010 10:30 AM
09-21-2010 11:10 AM
09-21-2010 11:22 AM
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).
09-21-2010 11:40 AM
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?
09-21-2010 11:44 AM
Tags
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.