Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » ATL » class is not found or is abstract
class is not found or is abstract [message #898964] Sun, 29 July 2012 16:22 Go to next message
Fernanda R.F. is currently offline Fernanda R.F.Friend
Messages: 64
Registered: May 2012
Member
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 18:08 Go to previous messageGo to next message
Fernanda R.F. is currently offline Fernanda R.F.Friend
Messages: 64
Registered: May 2012
Member
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 12:36 Go to previous messageGo to next message
Ronan B is currently offline Ronan BFriend
Messages: 273
Registered: July 2009
Senior Member
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 18:13 Go to previous messageGo to next message
Ed Willink is currently offline Ed WillinkFriend
Messages: 7655
Registered: July 2009
Senior Member
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 14:53 Go to previous messageGo to next message
Fernanda R.F. is currently offline Fernanda R.F.Friend
Messages: 64
Registered: May 2012
Member
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 13:56 Go to previous messageGo to next message
Fernanda R.F. is currently offline Fernanda R.F.Friend
Messages: 64
Registered: May 2012
Member
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 13:28 Go to previous message
Fernanda R.F. is currently offline Fernanda R.F.Friend
Messages: 64
Registered: May 2012
Member

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 Apr 24 13:48:50 GMT 2024

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

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

Back to the top