Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » MOFScript » Problem running transformation in Java
Problem running transformation in Java [message #766298] Thu, 15 December 2011 14:20
pere b is currently offline pere bFriend
Messages: 7
Registered: November 2011
Junior Member

I'm trying to run the code provided in "standalone.txt" in Netbeans and I'm getting this exception:

Exception in thread "main" java.lang.NoSuchMethodError: org.eclipse.emf.ecore.EPackage$Registry.getEFactory(Ljava/lang/String;)Lorg/eclipse/emf/ecore/EFactory;
at org.eclipse.uml2.uml.internal.impl.UMLFactoryImpl.init(
at org.eclipse.uml2.uml.UMLFactory.<clinit>(
at org.eclipse.uml2.uml.internal.impl.UMLPackageImpl.<init>(
at org.eclipse.uml2.uml.internal.impl.UMLPackageImpl.init(
at org.eclipse.uml2.uml.UMLPackage.<clinit>(
at TestAPI.<init>(
at TestAPI.main(
Java Result: 1
BUILD SUCCESSFUL (total time: 1 second)

Do you know what I'm doing wrong? Do I have to register the UML metamodel? If so, how can I do it?

Previous Topic:Applying Stereotypes
Next Topic:Subpackages URI problem
Goto Forum:

Current Time: Fri Mar 01 02:10:12 GMT 2024

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

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

Back to the top