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.
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"
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.