cancel
Showing results for 
Search instead for 
Did you mean: 

Getting exception when trying to connect to 5.12

studious
Champ in-the-making
Champ in-the-making
Hi,

I am getting the exception shown below
SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation.
SLF4J: Actual binding is of type [org.slf4j.impl.Log4jLoggerFactory]
Exception in thread "main" java.lang.NoClassDefFoundError: org/activiti/bpmn/model/Task
   at org.activiti.engine.impl.cfg.ProcessEngineConfigurationImpl.getDefaultDeployers(ProcessEngineConfigurationImpl.java:768)
   at org.activiti.engine.impl.cfg.ProcessEngineConfigurationImpl.initDeployers(ProcessEngineConfigurationImpl.java:721)
   at org.activiti.engine.impl.cfg.ProcessEngineConfigurationImpl.init(ProcessEngineConfigurationImpl.java:393)
   at org.activiti.engine.impl.cfg.ProcessEngineConfigurationImpl.buildProcessEngine(ProcessEngineConfigurationImpl.java:373)
   at com.up.procreport2.rest.MainRep.main(MainRep.java:70)
Caused by: java.lang.ClassNotFoundException: org.activiti.bpmn.model.Task
   at java.net.URLClassLoader$1.run(Unknown Source)
   at java.security.AccessController.doPrivileged(Native Method)
   at java.net.URLClassLoader.findClass(Unknown Source)
   at java.lang.ClassLoader.loadClass(Unknown Source)

I did try with 5.11 it is working fine. But when I tried to include 5.12 jars it is giving the error
at             ProcessEngine processEngine = ProcessEngineConfiguration
                  .createProcessEngineConfigurationFromResource("resource/activiti.cfg.xml")
                  .buildProcessEngine();
Tried with 5.12.1 , still seeing the error. Did anyone face the same problem before?
1 REPLY 1

jbarrez
Star Contributor
Star Contributor
> Exception in thread "main" java.lang.NoClassDefFoundError: org/activiti/bpmn/model/Task

You need to include the acitivit-bpmn-model jars. If you use maven, they are a mandatory dependency and will be fetched automatically.
Getting started

Tags


Find what you came for

We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.