我正在尝试从 ecore 元模型生成 gmf 编辑器。我主要关注本教程。当我尝试将 gmf 作为 Eclipse 应用程序运行时,出现以下错误。
eclipse.buildId=unknown
java.version=1.7.0_21
java.vendor=Oracle Corporation
BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=en_GB
Framework arguments: -application test.diagram.TestApplication
Command-line arguments: -application test.diagram.TestApplication -data C:\Program Files (x86)\eclipse epsilon\workspace/../runtime-test.diagram.TestApplication -dev file:C:/Program Files (x86)/eclipse epsilon/workspace/.metadata/.plugins/org.eclipse.pde.core/test.diagram.TestApplication/dev.properties -os win32 -ws win32 -arch x86_64 -consoleLog
!ENTRY org.eclipse.gmf.runtime.diagram.ui.printing.render 4 0 2014-08-03 13:42:06.118
!MESSAGE FrameworkEvent ERROR
!STACK 0
org.osgi.framework.BundleException: Could not resolve module: org.eclipse.gmf.runtime.diagram.ui.printing.render [33]
Unresolved requirement: Require-Bundle: org.eclipse.gmf.runtime.draw2d.ui.render.awt; bundle-version="[1.2.0,2.0.0)"
-> Bundle-SymbolicName: org.eclipse.gmf.runtime.draw2d.ui.render.awt; bundle-version="1.8.0.201406111639"; singleton:="true"
org.eclipse.gmf.runtime.draw2d.ui.render.awt [81]
Unresolved requirement: Require-Bundle: org.apache.batik.ext.awt; bundle-version="[1.6.0,1.7.0)"
-> Bundle-SymbolicName: org.apache.batik.ext.awt; bundle-version="1.6.0.v201011041432"
org.apache.batik.ext.awt [7]
Unresolved requirement: Require-Bundle: org.apache.batik.util; bundle-version="[1.6.0,1.7.0)"
at org.eclipse.osgi.container.Module.start(Module.java:434)
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.incStartLevel(ModuleContainer.java:1582)
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.incStartLevel(ModuleContainer.java:1561)
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.doContainerStartLevel(ModuleContainer.java:1533)
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.dispatchEvent(ModuleContainer.java:1476)
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.dispatchEvent(ModuleContainer.java:1)
at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230)
at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:340)
任何想法?