AnsweredAssumed Answered

activiti-5.0.beta2 - process engine 'default' failing init

Question asked by mtr3691 on Oct 14, 2010
Latest reply on Nov 26, 2010 by dukethrash
Is this a bug?

Is there a fix or workaround?


[deploy-bar] Initializing process engine default
[deploy-bar] Oct 14, 2010 7:38:43 AM org.activiti.engine.ProcessEngines initProcessEnginFromResource
[deploy-bar] INFO: initializing process engine for resource jar:file:/C:/Software/Activiti/activiti-5.0.beta2/setup/build/activiti
-cfg.jar!/activiti.properties
[deploy-bar] Oct 14, 2010 7:38:43 AM org.activiti.engine.ProcessEngines initProcessEnginFromResource
[deploy-bar] INFO: Exception while initializing process engine :org/apache/ibatis/type/TypeHandler
[deploy-bar] Oct 14, 2010 7:38:43 AM org.activiti.engine.ProcessEngines initProcessEnginFromResource
[deploy-bar] INFO: initializing process engine for resource jar:file:/C:/Software/Activiti/activiti-5.0.beta2/apps/apache-tomcat-6
.0.29/lib/activiti-cfg.jar!/activiti.properties
[deploy-bar] Oct 14, 2010 7:38:43 AM org.activiti.engine.ProcessEngines initProcessEnginFromResource
[deploy-bar] INFO: Exception while initializing process engine :org/apache/ibatis/type/TypeHandler

BUILD FAILED
C:\Software\Activiti\activiti-5.0.beta2\setup\build.xml:368: org.activiti.engine.ActivitiException: Process engine 'default' can n
ot be initialized! java.lang.NoClassDefFoundError: org/apache/ibatis/type/TypeHandler
        at org.activiti.engine.impl.cfg.ProcessEngineConfiguration.<init>(ProcessEngineConfiguration.java:177)
        at org.activiti.engine.ProcessEngineBuilder.buildProcessEngine(ProcessEngineBuilder.java:263)
        at org.activiti.engine.ProcessEngines.buildProcessEngine(ProcessEngines.java:126)
        at org.activiti.engine.ProcessEngines.initProcessEnginFromResource(ProcessEngines.java:101)
        at org.activiti.engine.ProcessEngines.init(ProcessEngines.java:76)
        at org.activiti.engine.impl.ant.DeployBarTask.execute(DeployBarTask.java:71)
        at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
        at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
        at org.apache.tools.ant.Task.perform(Task.java:348)
        at org.apache.tools.ant.Target.execute(Target.java:390)
        at org.apache.tools.ant.Target.performTasks(Target.java:411)
        at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1397)
        at org.apache.tools.ant.Project.executeTarget(Project.java:1366)
        at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
        at org.apache.tools.ant.Project.executeTargets(Project.java:1249)
        at org.apache.tools.ant.Main.runBuild(Main.java:801)
        at org.apache.tools.ant.Main.startAnt(Main.java:218)
        at org.apache.tools.ant.launch.Launcher.run(Launcher.java:280)
        at org.apache.tools.ant.launch.Launcher.main(Launcher.java:109)
Caused by: java.lang.ClassNotFoundException: org.apache.ibatis.type.TypeHandler
        at org.apache.tools.ant.AntClassLoader.findClassInComponents(AntClassLoader.java:1361)
        at org.apache.tools.ant.AntClassLoader.findClass(AntClassLoader.java:1311)
        at org.apache.tools.ant.AntClassLoader.loadClass(AntClassLoader.java:1064)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
        … 22 more

        at org.activiti.engine.impl.ant.DeployBarTask.execute(DeployBarTask.java:85)
        at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
        at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
        at org.apache.tools.ant.Task.perform(Task.java:348)
        at org.apache.tools.ant.Target.execute(Target.java:390)
        at org.apache.tools.ant.Target.performTasks(Target.java:411)
        at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1397)
        at org.apache.tools.ant.Project.executeTarget(Project.java:1366)
        at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
        at org.apache.tools.ant.Project.executeTargets(Project.java:1249)
        at org.apache.tools.ant.Main.runBuild(Main.java:801)
        at org.apache.tools.ant.Main.startAnt(Main.java:218)
        at org.apache.tools.ant.launch.Launcher.run(Launcher.java:280)
        at org.apache.tools.ant.launch.Launcher.main(Launcher.java:109)

Outcomes