I have found a bug using the activiti-context.xml file inside a cdi environmnent. Adding this file in the resources of the application I have this exception:
Caused by: java.lang.IllegalAccessException: Class org.activiti.engine.ProcessEngines can not access a member of class org.activiti.spring.SpringConfigurationHelper with modifiers "public static"
Indeed we cannot use the reflection to call the SpringConfigurationHelper because the class is protected through the default access modifier.
To resolve the problem you can set to public the org.activiti.spring.SpringConfigurationHelper class: public class SpringConfigurationHelper instead of: class SpringConfigurationHelper