AnsweredAssumed Answered

Activiti 5.12 ClassNotFoundException for  log4j in Eclipse

Question asked by sistemasmunicipales on Apr 3, 2013
Latest reply on Aug 25, 2014 by martin.grofcik
Hello, I'd like some help regarding an Exception thrown when instantiating the engine in Activiti 5.12 . Recently I updated from version 5.10 to 5.12, I'm working with Eclipse on a GXT (Sencha Ext Gwt) project. Before the update (that consisted simply in changing the Activiti libraries) the project had no errors. But after changing the libraries I started to get exceptions regarding slf4j and log4j class not found. Now, before posting here I checked all the obvious and not so obvious possible causes, and searched on the web but obviously I am missing something…
The exception is:

Caused by: java.lang.NoClassDefFoundError: org/slf4j/LoggerFactory
   at org.activiti.engine.impl.cfg.ProcessEngineConfigurationImpl.<clinit>(

I included in classpath all the jars that come with Activiti, plus downloaded slf4j-1.7.5 and included some jars (I think not all of them are nedded, even  there are some jars that can't be included together) but still getting the same error.

Anyone know the exactly needed jars, or had the same problem, or can give me a hint? Any help will be appreciated.
Thanks in advance