Skip to main content



      Home
Home » Modeling » ATL » class is not found or is abstract
class is not found or is abstract [message #898964] Sun, 29 July 2012 12:22 Go to next message
Eclipse UserFriend
Hi,

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?

Re: class is not found or is abstract [message #902280 is a reply to message #898964] Thu, 16 August 2012 14:08 Go to previous messageGo to next message
Eclipse UserFriend
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.

Re: class is not found or is abstract [message #902391 is a reply to message #902280] Fri, 17 August 2012 08:36 Go to previous messageGo to next message
Eclipse UserFriend
Hi,
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
Re: class is not found or is abstract [message #902653 is a reply to message #902280] Thu, 16 August 2012 14:13 Go to previous messageGo to next message
Eclipse UserFriend
Hi

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.
>
>
Re: class is not found or is abstract [message #902685 is a reply to message #902391] Sun, 19 August 2012 10:53 Go to previous messageGo to next message
Eclipse UserFriend
Thanks very much for the answers, I'll try it so.

Fernanda
Re: class is not found or is abstract [message #909082 is a reply to message #902685] Thu, 06 September 2012 09:56 Go to previous messageGo to next message
Eclipse UserFriend
Hi, I tried changing the url but the error is still appearing.

Is there other possibility that I could try?
Re: class is not found or is abstract [message #915534 is a reply to message #909082] Mon, 17 September 2012 09:28 Go to previous message
Eclipse UserFriend

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.

Regards,
Fernanda
Previous Topic:ATL Plugin Feature 'literal' not found error
Next Topic:making a map of map
Goto Forum:
  


Current Time: Wed Jul 23 14:14:50 EDT 2025

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

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

Back to the top