cancel
Showing results for 
Search instead for 
Did you mean: 

Issue in Activiti Designer Plugin Installation

rajendiran
Champ in-the-making
Champ in-the-making
Hi,

Recently, In my office, They migrated Windows XP with Windows 7. When I re-installed Activiti Designer plugin, I got the following error message.

"Cannot complete the install because one or more required items could not be found.
  Software being installed: Activiti Eclipse BPMN 2.0 Designer 5.15.0.201407081458 (org.activiti.designer.feature.feature.group 5.15.0.201407081458)
  Missing requirement: Activiti Eclipse BPMN 2.0 Designer 5.15.0.201407081458 (org.activiti.designer.feature.feature.group 5.15.0.201407081458) requires 'org.eclipse.emf.transaction 1.4.0' but it could not be found"

I am not able to see the Activiti Diagram in eclipse due to this issue.

I am using jre1.6.0_39. Please help me to solve this error.

Thanks and Regards,
Rajendiran R
6 REPLIES 6

rajendiran
Champ in-the-making
Champ in-the-making
Hi,

I fixed the problem. I was using eclipse juno. I replaced it with eclipse indigo. I got the activiti designer console.

Regards,
Rajendiran R

rajendiran
Champ in-the-making
Champ in-the-making
Hi,

As mentioned above, eclipse indigo works fine with Activiti Designer. When run the java code to deploy a bpmn file, I got the following error.

log4j:WARN No appenders could be found for logger (org.springframework.core.env.StandardEnvironment).
log4j:WARN Please initialize the log4j system properly.
log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info.
Exception in thread "main" org.springframework.beans.factory.BeanDefinitionStoreException: IOException parsing XML document from class path resource [activiti.cfg.xml]; nested exception is java.io.FileNotFoundException: class path resource [activiti.cfg.xml] cannot be opened because it does not exist
at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:341)
at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:302)
at org.activiti.engine.impl.cfg.BeansConfigurationHelper.parseProcessEngineConfiguration(BeansConfigurationHelper.java:35)
at org.activiti.engine.impl.cfg.BeansConfigurationHelper.parseProcessEngineConfigurationFromResource(BeansConfigurationHelper.java:48)
at org.activiti.engine.ProcessEngineConfiguration.createProcessEngineConfigurationFromResource(ProcessEngineConfiguration.java:199)
at org.activiti.engine.ProcessEngineConfiguration.createProcessEngineConfigurationFromResource(ProcessEngineConfiguration.java:195)
at com.nomura.activiti.api.custom.InvokeActivitEngine.buildMyProcessEngine(InvokeActivitEngine.java:111)
at com.nomura.activiti.api.custom.InvokeActivitEngine.deploy(InvokeActivitEngine.java:93)
at com.nomura.activiti.api.custom.InvokeActivitEngine.main(InvokeActivitEngine.java:82)
Caused by: java.io.FileNotFoundException: class path resource [activiti.cfg.xml] cannot be opened because it does not exist
at org.springframework.core.io.ClassPathResource.getInputStream(ClassPathResource.java:157)
at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:328)
… 8 more

I kept the activiti.cfg.xml file in src/main/resources folder. Still the error is coming. Please let suggest me to fix this issue.

Thanks and Regards,
Rajendiran R

trademak
Star Contributor
Star Contributor
Difficult to say when you don't include the source code where you are building the process engine. What's the code around this line:

InvokeActivitEngine.java:111

Best regards,

rajendiran
Champ in-the-making
Champ in-the-making
Hi,

I attached the java file herewith for your reference.

InvokeActivitEngine.java:111has "procEngineConfig = ProcessEngineConfiguration.createProcessEngineConfigurationFromResource(configFile);" statement. The activiti-cfg.xml is there in src/main/resources folder. But I am still getting the error.

Please suggest.

Thanks and Regards,
Rajendiran R

adamfloater
Champ in-the-making
Champ in-the-making
Hi,

I'm having the same issue of the Activiti Designer not installing, I've tried it in both Juno and Indigo with no success. Has anyone got any idea's how to work around this?

Thanks for any help with this.
Adam

trademak
Star Contributor
Star Contributor
Hi Adam,

Do you an error message when installing?

Best regards,