AnsweredAssumed Answered

Exception in Process Engine Configuration Impl In Activiti 6

Question asked by sibok666 on Sep 8, 2016
Yesterday I got the code of the Activiti Beta 6.0.4 And Im triying to run the project, I already build the Maven project and the construct was successful, but  Im getting the following exceptions wen I try to run the web app Module:



GRAVE: Excepción enviando evento inicializado de contexto a instancia de escuchador de clase org.activiti.rest.servlet.WebConfigurer
java.lang.NoClassDefFoundError: org/activiti/engine/impl/cfg/ProcessEngineConfigurationImpl
   at java.lang.Class.getDeclaredMethods0(Native Method)
   at java.lang.Class.privateGetDeclaredMethods(Class.java:2701)
   at java.lang.Class.getDeclaredMethods(Class.java:1975)
   at org.springframework.util.ReflectionUtils.getDeclaredMethods(ReflectionUtils.java:609)
   at org.springframework.util.ReflectionUtils.doWithMethods(ReflectionUtils.java:521)
   at org.springframework.util.ReflectionUtils.doWithMethods(ReflectionUtils.java:507)
   at org.springframework.util.ReflectionUtils.getUniqueDeclaredMethods(ReflectionUtils.java:567)
   at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.getTypeForFactoryMethod(AbstractAutowireCapableBeanFactory.java:683)
   at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.determineTargetType(AbstractAutowireCapableBeanFactory.java:627)
   at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.predictBeanType(AbstractAutowireCapableBeanFactory.java:597)
   at org.springframework.beans.factory.support.AbstractBeanFactory.isFactoryBean(AbstractBeanFactory.java:1445)
   at org.springframework.beans.factory.support.DefaultListableBeanFactory.doGetBeanNamesForType(DefaultListableBeanFactory.java:445)
   at org.springframework.beans.factory.support.DefaultListableBeanFactory.getBeanNamesForType(DefaultListableBeanFactory.java:415)
   at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:101)
   at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:678)
   at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:520)
   at org.activiti.rest.servlet.WebConfigurer.contextInitialized(WebConfigurer.java:45)
   at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4738)
   at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5181)
   at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
   at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1408)
   at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1398)
   at java.util.concurrent.FutureTask.run(FutureTask.java:266)
   at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
   at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
   at java.lang.Thread.run(Thread.java:745)
Caused by: java.lang.ClassNotFoundException: org.activiti.engine.impl.cfg.ProcessEngineConfigurationImpl
   at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1333)
   at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1167)
   … 26 more



An the next One:


INFO  org.activiti.rest.servlet.WebConfigurer  - Destroying Web application
sep 08, 2016 9:38:14 AM org.apache.catalina.core.StandardContext listenerStop
GRAVE: Excepción enviando evento de contexto destruído a instancia de escuchador de clase org.activiti.rest.servlet.WebConfigurer
java.lang.IllegalStateException: No WebApplicationContext found: no ContextLoaderListener registered?
   at org.springframework.web.context.support.WebApplicationContextUtils.getRequiredWebApplicationContext(WebApplicationContextUtils.java:83)
   at org.activiti.rest.servlet.WebConfigurer.contextDestroyed(WebConfigurer.java:92)
   at org.apache.catalina.core.StandardContext.listenerStop(StandardContext.java:4785)
   at org.apache.catalina.core.StandardContext.stopInternal(StandardContext.java:5404)
   at org.apache.catalina.util.LifecycleBase.stop(LifecycleBase.java:232)
   at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:160)
   at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1408)
   at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1398)
   at java.util.concurrent.FutureTask.run(FutureTask.java:266)
   at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
   at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
   at java.lang.Thread.run(Thread.java:745)

Outcomes