cancel
Showing results for 
Search instead for 
Did you mean: 

Problem building Activiti Designer in Kepler

gluquesan
Champ in-the-making
Champ in-the-making
I followed the instructions given by http://docs.codehaus.org/display/ACT/Activiti+Designer+Developer+Guide:
- I have cloned the git repository and fixed pom.xml in org.activiti.designer.parent to set the Eclipse repository to Kepler
- Previously, I have installed the required plugins on Eclipse (Modeling SDK and Graphiti 0.10.1)
- Being located at org.activiti.designer.parent I have run the suggested maven comands (mvn clean eclipse:clean; mvn eclipse:eclipse)
- Both maven commands gave me SUCCESS messages in all projects.
- Next, I opened the projects in Eclipse Kepler, check the exported jars in org.activiti.designer.libs and run the org.activiti.designer.eclipse project as Eclipse Application
- Though a new Eclipse instance is launched and I was able to create a new Activiti project, I couldn´t create any BPM diagram because Eclipse shows me this error:


!SUBENTRY 1 org.eclipse.equinox.registry 4 1 2014-03-27 14:15:33.796
!MESSAGE Plug-in "org.activiti.designer.eclipse" was unable to instantiate class "org.activiti.designer.eclipse.editor.ActivitiDiagramEditor".
!STACK 0
java.lang.NoClassDefFoundError: org/activiti/bpmn/model/BaseElement
   at java.lang.Class.getDeclaredConstructors0(Native Method)
   at java.lang.Class.privateGetDeclaredConstructors(Class.java:2493)
        ….
   at org.eclipse.equinox.launcher.Main.run(Main.java:1450)
   at org.eclipse.equinox.launcher.Main.main(Main.java:1426)
Caused by: java.lang.ClassNotFoundException: org.activiti.bpmn.model.BaseElement cannot be found by org.activiti.designer.eclipse_5.14.1
   at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:501)
   at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:421)
   at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:412)
   at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:107)
   at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
   … 127 more


What am I doing wrong? I will really appreciate any help.

Thanks in advance.
1 REPLY 1

trademak
Star Contributor
Star Contributor
Are you still experiencing this issue? Do you see that the designer.eclipse module has the activiti-bpmn-model JAR file on it's classpath?

Best regards,