Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » M2T (model-to-text transformation) » Workflow configuration error - classes not found
Workflow configuration error - classes not found [message #921048] Sun, 23 September 2012 19:28 Go to next message
Yasser Khan is currently offline Yasser KhanFriend
Messages: 23
Registered: October 2011
Junior Member
What is wrong with my workflow definition :

<?xml version="1.0"?>
<workflow>
<!-- set up EMF for standalone execution -->
<bean class="org.eclipse.emf.mwe.utils.StandaloneSetup" platformUri=".." />

<!-- prepare for performing uml -->
<bean class="org.eclipse.xtend.typesystem.uml2.Setup" standardUML2Setup="true" />

<!--UML2 Profile - Metamodell-->
<bean id="mm_profile" class="org.eclipse.xtend.typesystem.uml2.profile.ProfileMetaModel">
<profile value="platform:/resource/xpand.uml2.generator/src/test.profile.uml"/>
</bean>

<!-- load model and store it in slot 'model' -->
<component class="org.eclipse.emf.mwe.utils.Reader">
<uri value="platform:/resource/xpand.uml2.generator/src/example-profiled.uml" />
<modelSlot value="model" />
</component>

<component id="generator" class="org.eclipse.xpand2.Generator" skipOnErrors="true">
<metaModel idRef="mm_profile"/>
<expand value="templates::Root::Root FOR model"/>
<fileEncoding value="ISO-8859-1"/>
<outlet path="src-gen">
<postprocessor class="org.eclipse.xpand2.output.JavaBeautifier"/>
</outlet>
</component>
</workflow>

I get the following errors:

0 INFO WorkflowEngine - --------------------------------------------------------------------------------------
2 INFO WorkflowEngine - EMF Modeling Workflow Engine 1.1.1, Build v201108020506
3 INFO WorkflowEngine - (c) 2005-2009 openarchitectureware.org and contributors
3 INFO WorkflowEngine - --------------------------------------------------------------------------------------
3 INFO WorkflowEngine - running workflow: C:/Users/yasser/Desktop/workspace/my.generator.project/src/workflowWithProfile.mwe
3 INFO WorkflowEngine -
319 ERROR WorkflowEngine - [ERROR]: Class not found: 'org.eclipse.xtend.typesystem.uml2.Setup'(Element: bean bean class='org.eclipse.xtend.typesystem.uml2.Setup' in C:/Users/yasser/Desktop/workspace/my.generator.project/src/workflowWithProfile.mwe:7; Reported by: -UNKNOWN-)
320 ERROR WorkflowEngine - [ERROR]: No getter or adder method for property 'standardUML2Setup' in clazz 'java.lang.Object' found.(Element: standardUML2Setup='true' in C:/Users/yasser/Desktop/workspace/my.generator.project/src/workflowWithProfile.mwe:7; Reported by: -UNKNOWN-)
320 ERROR WorkflowEngine - [ERROR]: Class not found: 'org.eclipse.xtend.typesystem.uml2.profile.ProfileMetaModel'(Element: bean bean class='org.eclipse.xtend.typesystem.uml2.profile.ProfileMetaModel' id='mm_profile' in C:/Users/yasser/Desktop/workspace/my.generator.project/src/workflowWithProfile.mwe:10; Reported by: -UNKNOWN-)
320 ERROR WorkflowEngine - [ERROR]: No getter or adder method for property 'profile' in clazz 'java.lang.Object' found.(Element: profile='platform:/resource/xpand.uml2.generator/src/test.profile.uml' in C:/Users/yasser/Desktop/workspace/my.generator.project/src/workflowWithProfile.mwe:11; Reported by: -UNKNOWN-)
320 WARN WorkflowEngine - [WARNING]: The type of the referred bean (java.lang.Object) is not assignable to org.eclipse.xtend.typesystem.MetaModel(Element: -UNKNOWN-; Reported by: -UNKNOWN-)
320 ERROR WorkflowEngine - Workflow interrupted because of configuration errors.

Mainly class not found errors. Using eclipse indigo.
Re: Workflow configuration error - classes not found [message #921067 is a reply to message #921048] Sun, 23 September 2012 19:50 Go to previous messageGo to next message
Christian Dietrich is currently offline Christian DietrichFriend
Messages: 14722
Registered: July 2009
Senior Member
Make sure you add the required plugins to the manifest.mf

--
Need training, onsite consulting or any other kind of help for Xtext?
Go visit http://xtext.itemis.com or send a mail to xtext at itemis dot de


Twitter : @chrdietrich
Blog : https://www.dietrich-it.de
Day Job: https://www.everest-systems.com
Re: Workflow configuration error - classes not found [message #1745111 is a reply to message #921067] Wed, 05 October 2016 09:50 Go to previous messageGo to next message
babou boubou is currently offline babou boubouFriend
Messages: 22
Registered: October 2016
Junior Member
in this case i should add all the list of plug-ins required for the operation of this plug-in?
Re: Workflow configuration error - classes not found [message #1745112 is a reply to message #921067] Wed, 05 October 2016 10:23 Go to previous message
salha salha is currently offline salha salhaFriend
Messages: 97
Registered: February 2016
Member
i should add all the list of plug-ins required for the operation of this plug-in?
how i do?
Previous Topic:[Acceleo] Supress generation popups?
Next Topic: Workflow interrupted because of configuration errors.
Goto Forum:
  


Current Time: Wed Oct 09 07:22:24 GMT 2024

Powered by FUDForum. Page generated in 0.05800 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top