AnsweredAssumed Answered

Upgrading from ver 5.7 to 5.13

Question asked by lc_at_oppd on Sep 9, 2013
Latest reply on May 13, 2014 by hendrix
I currently have a  production Grails application that utilizes the Activit workflow using Activiti ver #5.7
I’ve been maintaining this system for 2 years with no issues, connected to an Oracle schema.

Now i’m trying to upgrade to Activiti ver 5.13. (With no changes first, to make sure all is well before I start taking advantage of the current version.)
Except for the database configuration changes, I have made no other changes to ver #5.13 Activiti-Explorer and Rest.
I copied the Explorer and Rest wars to the webapps directory of tomcat and let it unpack the directory structure.
Then I made my changes, to use an Oracle database.

Here’s the problem.
When I hit this code:
runtimeService.startProcessInstanceByKey(params.processDefinitionKey, params);
I receive this error:
“ No ClassDefFoundError  org/activiti/engine/impl/bpmn/parser/BpmnParse “

I was hoping its just some missing jar  or something similar
Any help would be greatly appreciated,
Below is part of the stacktrace:

java.lang.ClassNotFoundException: org.activiti.engine.impl.bpmn.parser.BpmnParse
   at Method)
   at java.lang.ClassLoader.loadClass(
   at java.lang.ClassLoader.loadClass(
   at java.lang.ClassLoader.loadClass(
   at org.activiti.engine.impl.cfg.DefaultBpmnParseFactory.createBpmnParse(
   at org.activiti.engine.impl.bpmn.parser.BpmnParser.createParse(
   at org.activiti.engine.impl.bpmn.deployer.BpmnDeployer.deploy(
   at org.activiti.engine.impl.persistence.deploy.DeploymentManager.deploy(
   at org.activiti.engine.impl.persistence.deploy.DeploymentManager.resolveProcessDefinition(
   at org.activiti.engine.impl.persistence.deploy.DeploymentManager.findDeployedLatestProcessDefinitionByKey(
   at org.activiti.engine.impl.cmd.StartProcessInstanceCmd.execute(
   at org.activiti.engine.impl.cmd.StartProcessInstanceCmd.execute(
   at org.activiti.engine.impl.interceptor.CommandExecutorImpl.execute(
   at org.activiti.engine.impl.interceptor.CommandContextInterceptor.execute(
   at org.activiti.engine.impl.interceptor.LogInterceptor.execute(
   at org.activiti.engine.impl.RuntimeServiceImpl.startProcessInstanceByKey(
   at org.activiti.engine.RuntimeService$ Source)