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?