我想尝试使用UML2 Tools for Eclipse,如this tutorial所示。
我目前为Java EE开发人员安装了Eclipse 3.6 Helios。
在我的Eclipse Marketplace中,我将市场目录切换到 Yoxos Marketplace ,并搜索 UML2工具SDK(孵化)。当我尝试安装它们时,Eclipse不会继续并抱怨一些冲突的依赖项。这是完整的痕迹:
Cannot complete the install because of a conflicting dependency.
Software being installed: UML2 Tools SDK (Incubation) 0.9.0.v200906190654 (org.eclipse.uml2tools.sdk.feature.group 0.9.0.v200906190654)
Software currently installed: Eclipse IDE for Java EE Developers 1.3.2.20110301-1807 (epp.package.jee 1.3.2.20110301-1807)
Only one of the following can be installed at once:
EMF Ecore 2.5.0.v200906151043 (org.eclipse.emf.ecore 2.5.0.v200906151043)
EMF Ecore 2.6.1.v20100914-1218 (org.eclipse.emf.ecore 2.6.1.v20100914-1218)
EMF Ecore 2.6.0.v20100614-1136 (org.eclipse.emf.ecore 2.6.0.v20100614-1136)
Cannot satisfy dependency:
From: Eclipse IDE for Java EE Developers 1.3.2.20110301-1807 (epp.package.jee 1.3.2.20110301-1807)
To: org.eclipse.epp.package.jee.feature.feature.group [1.3.2.20110301-1807]
Cannot satisfy dependency:
From: Object Constraint Language (OCL) 2.0 Compatibility API 1.1.101.v200901271800 (org.eclipse.emf.ocl 1.1.101.v200901271800)
To: bundle org.eclipse.ocl.ecore [1.1.0,2.0.0)
Cannot satisfy dependency:
From: Java EE IDE Feature 1.3.2.20110301-1807 (org.eclipse.epp.package.jee.feature.feature.group 1.3.2.20110301-1807)
To: org.eclipse.jst.enterprise_ui.feature.feature.group 0.0.0
Cannot satisfy dependency:
From: Eclipse Java EE Developer Tools 3.2.3.v201011031800-7b7GHfIFSK2WBRT6E1mcyFXGPnSh (org.eclipse.jst.enterprise_ui.feature.feature.group 3.2.3.v201011031800-7b7GHfIFSK2WBRT6E1mcyFXGPnSh)
To: org.eclipse.jst.ws.jaxrs.ui [1.0.301.v201012020511]
Cannot satisfy dependency:
From: JAX-RS Tools - UI 1.0.301.v201012020511 (org.eclipse.jst.ws.jaxrs.ui 1.0.301.v201012020511)
To: bundle org.eclipse.emf.ecore [2.6.0,3.0.0)
Cannot satisfy dependency:
From: OCL 2.0 Binding for Ecore 1.3.0.v200905271400 (org.eclipse.ocl.ecore 1.3.0.v200905271400)
To: bundle org.eclipse.emf.ecore [2.5.0,2.6.0)
Cannot satisfy dependency:
From: UML2 Diagramming (Incubation) 0.9.0.v200906190654 (org.eclipse.uml2.diagram.feature.group 0.9.0.v200906190654)
To: org.eclipse.emf.ocl 0.0.0
Cannot satisfy dependency:
From: UML2 Tools SDK (Incubation) 0.9.0.v200906190654 (org.eclipse.uml2tools.sdk.feature.group 0.9.0.v200906190654)
To: org.eclipse.uml2.diagram.feature.group [0.9.0.v200906190654]
也许我不理解整个概念,我正在尝试不合适的东西,我不知道。谢谢你的建议。
答案 0 :(得分:13)
UML2 Tools没有适用于Eclipse 3.6及更高版本的版本。您可以改用Papyrus。
答案 1 :(得分:0)
如果您确实需要UML2 Tools 0.9.0在Eclipse Helios 3.6中工作,那么在安装UML2工具之前需要执行workaround,如本answer中所述。