cancel
Showing results for 
Search instead for 
Did you mean: 

java.lang.NoSuchMethodError: javax.el.ExpressionFactory.newI

thilka
Champ in-the-making
Champ in-the-making
Hello,

when I try to run a simple process using activiti embedded in our application on tomcat, I get the following error:

After some google search, I found out that the el-api.jar which ships with tomcat 6.0.26 has one implementation, and juel-2.2.1 has another one.

The error is:

java.lang.NoSuchMethodError: javax.el.ExpressionFactory.newInstance()Ljavax/el/ExpressionFactory;
   at org.activiti.impl.el.ExpressionManager.<init>(ExpressionManager.java:52)
   at org.activiti.impl.cfg.ProcessEngineFactory.createDefaultExpressionManager(ProcessEngineFactory.java:267)
   at org.activiti.impl.cfg.ProcessEngineFactory.init(ProcessEngineFactory.java:107)
   at org.activiti.impl.cfg.ProcessEngineFactory.createProcessEngine(ProcessEngineFactory.java:169)
   at org.activiti.DbProcessEngineBuilder.buildProcessEngine(DbProcessEngineBuilder.java:214)

Removing juel-2.2.1.jar from our WEB-INF/lib does not seem to change anything.
Removing el-api.jar from the tomcat/lib directory results in the tomcat not even starting (java.lang.NoClassDefFoundError: javax/el/CompositeELResolver)

Putting juel-2.2.1 to the tomcat/lib folder (instead of el-api) seems to work, but this is not a proper solution.

Any suggestions? How does it work on your tomcat deployments?

I found a similar issue in some other, outdated process engine: https://jira.jboss.org/browse/JBPM-2800

Thanks,
Tobias
2 REPLIES 2

tombaeyens
Champ in-the-making
Champ in-the-making
Can you make a jira for this?

thilka
Champ in-the-making
Champ in-the-making
Create JIRA Issue ACT-102
Getting started

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.