Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » GMF (Graphical Modeling Framework) » GMF tooling -- Problems with generating the gmfgen model
GMF tooling -- Problems with generating the gmfgen model [message #1777025] Thu, 23 November 2017 16:21 Go to next message
Albrecht l is currently offline Albrecht lFriend
Messages: 1
Registered: November 2017
Junior Member
I am a beginner in using GMF. I want to understand and maintain a system, which is few years old . I want to use
and rebuild it in eclipse Oxygen. Since gmf tooling is no longer shipped with eclipse i downlaoded it from there
updatesite But when i try to generate the
gmfgen model i get the error below.
A similar error is also described in the previous post, but the user uses Papyrus. I Thing the guys of payrus have theire own
workaround. For now i am using Neon to learn gmf(tooling). Is there a way to use it with oxygen? Am i doing something wrong?

thanks in advance



java.lang.NoClassDefFoundError: org/eclipse/m2m/internal/qvt/oml/runtime/project/BundleUnitResolver
at org.eclipse.gmf.internal.xpand.util.BundleResourceManager.getQVTUnitResolver(
at org.eclipse.gmf.internal.xpand.util.ResourceManagerImpl.doLoadQvtResource(
at org.eclipse.gmf.internal.xpand.util.ResourceManagerImpl.loadQvtResourceThroughCache(
at org.eclipse.gmf.internal.xpand.util.ResourceManagerImpl.loadQvtResource(
at org.eclipse.gmf.internal.xpand.model.Scope.findExtension(
at org.eclipse.gmf.internal.xpand.model.ExecutionContextImpl.getImportedModules(
at org.eclipse.gmf.internal.xpand.model.ExecutionContextImpl.getOCLEnvironment(
at org.eclipse.gmf.internal.xpand.ocl.TypeHelper.getTypeForName(
at org.eclipse.gmf.internal.xpand.model.ExecutionContextImpl.findDefinition(
at org.eclipse.gmf.internal.xpand.model.ExecutionContextImpl.findDefinition(
at org.eclipse.gmf.internal.xpand.XpandFacade.evaluate(
at org.eclipse.gmf.graphdef.codegen.FigureGenerator.fqnSwitch(
at org.eclipse.gmf.internal.bridge.genmodel.InnerClassViewmapProducer.createViewmap(
at org.eclipse.gmf.internal.bridge.genmodel.InnerClassViewmapProducer.create(
at org.eclipse.gmf.internal.bridge.genmodel.DiagramGenModelTransformer.process(
at org.eclipse.gmf.internal.bridge.genmodel.MappingTransformer.transform(
at org.eclipse.gmf.internal.bridge.transform.TransformToGenModelOperation$2.process(
at org.eclipse.gmf.internal.bridge.transform.TransformToGenModelOperation.executeTransformation(
at org.eclipse.gmf.internal.bridge.ui.dashboard.HyperlinkFigure$1.mousePressed(
at org.eclipse.draw2d.Figure.handleMousePressed(
at org.eclipse.draw2d.SWTEventDispatcher.dispatchMousePressed(
at org.eclipse.draw2d.LightweightSystem$EventHandler.mouseDown(
at org.eclipse.swt.widgets.TypedListener.handleEvent(
at org.eclipse.swt.widgets.EventTable.sendEvent(
at org.eclipse.swt.widgets.Display.sendEvent(
at org.eclipse.swt.widgets.Widget.sendEvent(
at org.eclipse.swt.widgets.Display.runDeferredEvents(
at org.eclipse.swt.widgets.Display.readAndDispatch(
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$
at org.eclipse.core.databinding.observable.Realm.runWithDefault(
at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(
at org.eclipse.ui.internal.Workbench.lambda$3(
at org.eclipse.core.databinding.observable.Realm.runWithDefault(
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(
at org.eclipse.ui.internal.ide.application.IDEApplication.start(
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.equinox.launcher.Main.invokeFramework(
at org.eclipse.equinox.launcher.Main.basicRun(
at org.eclipse.equinox.launcher.Main.main(
Caused by: java.lang.ClassNotFoundException: org.eclipse.m2m.internal.qvt.oml.runtime.project.BundleUnitResolver cannot be found by org.eclipse.gmf.xpand_2.2.0.201409171321
at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(
at org.eclipse.osgi.internal.loader.BundleLoader.findClass(
at org.eclipse.osgi.internal.loader.BundleLoader.findClass(
at org.eclipse.osgi.internal.loader.ModuleClassLoader.loadClass(
at java.lang.ClassLoader.loadClass(Unknown Source)
... 51 more
Re: GMF tooling -- Problems with generating the gmfgen model [message #1785156 is a reply to message #1777025] Tue, 10 April 2018 07:20 Go to previous messageGo to next message
Suv Yathiraj is currently offline Suv YathirajFriend
Messages: 1
Registered: April 2018
Junior Member
Encountering same problem with Oxygen 3 and GMF 3.0.1. Tried adding M2M runtime libraries to the classpath. Still no use. Any suggestions?
Re: GMF tooling -- Problems with generating the gmfgen model [message #1785216 is a reply to message #1785156] Wed, 11 April 2018 06:12 Go to previous message
Pierre-Charles David is currently offline Pierre-Charles DavidFriend
Messages: 702
Registered: July 2009
Senior Member
To my knowledge, GMF Tooling is not maintained anymore. I'm not even sure anyone from the project is following this forum. The only suggestion I can give you is to keep an older version of Eclipse (pre-Oxygen) around for when you need to launch a GMF Tooling generation, even if you use a more recent Eclipse for the main development. The version of Eclipse (and the required dependencies) used to run the code generation phase does not need to be the version you use to develop the rest of the code, or the target version where the result application will be executed.

Pierre-Charles David - Obeo

Need training or professional services for Sirius?
Previous Topic:Split Editor
Next Topic:Attach Other Figures/EditParts to a Connection
Goto Forum:

Current Time: Sun Apr 14 02:26:21 GMT 2024

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

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

Back to the top