Eclipse Community Forums - RDF feed
https://www.eclipse.org/forums/
Eclipse Community Forumsclass is not found or is abstract
https://www.eclipse.org/forums/index.php/mv/msg/368693/898964/#msg_898964
I'm using the ATL plugin to run an ATL code from a java class, however when I use a metamodel as an URI : http://www.eclipse.org/uml2/4.0.0/UML and my model is an uml file generated by Magic draw, it is returning a error informing that the class is not found or is abstract.
What I could do to solve it?
]]>Fernanda R.F.2012-07-29T16:22:00-00:00Re: class is not found or is abstract
https://www.eclipse.org/forums/index.php/mv/msg/368693/902280/#msg_902280
I already tried to redo ecore files and changed the project path, but I'm still getting this error.
]]>Fernanda R.F.2012-08-16T18:08:32-00:00Re: class is not found or is abstract
https://www.eclipse.org/forums/index.php/mv/msg/368693/902653/#msg_902653
Your registrations are obviously wrong. Find a working ATL UML example
to copy.
Regards
Ed Willink
On 16/08/2012 19:08, Fernanda R.F. wrote:
> No one knows how to solve it?
>
> I already tried to redo ecore files and changed the project path, but
> I'm still getting this error.
>
>]]>Ed Willink2012-08-16T18:13:43-00:00Re: class is not found or is abstract
https://www.eclipse.org/forums/index.php/mv/msg/368693/902391/#msg_902391
Does the model exported from MagicDraw open properly in sample UML2 editor? Assuming it does check the UML2 version used by MagicDraw in the .uml file. It might be using an older URI. Use the URI they use in the .uml file. It will be in the xmi:XMI document root e.g.xmlns:uml="http://www.eclipse.org/uml2/3.0.0/UML"
Regards,
Ronan]]>Ronan B2012-08-17T12:36:31-00:00Re: class is not found or is abstract
https://www.eclipse.org/forums/index.php/mv/msg/368693/902685/#msg_902685
Fernanda]]>Fernanda R.F.2012-08-19T14:53:23-00:00Re: class is not found or is abstract
https://www.eclipse.org/forums/index.php/mv/msg/368693/909082/#msg_909082
Is there other possibility that I could try?
]]>Fernanda R.F.2012-09-06T13:56:09-00:00Re: class is not found or is abstract
https://www.eclipse.org/forums/index.php/mv/msg/368693/915534/#msg_915534
I found how to fix it, and the problem was that the properties file and java atl plugin code was using the wrong order. In properties file, was first the source metamodel path, and it should be the target metamodel first. The same problem was noticed in java code. After changing it, the code started working.