在Eclipse中安装Scala IDE时遇到问题

3
我可以帮您进行翻译。以下是您需要翻译的内容:

我正在尝试在Eclipse Galileo 3.5中安装Scala,但是我遇到了以下错误:

错误信息:

 Cannot complete the install because one or 
more required items could not be found. Software being installed:
JDT    Weaving for Scala 2.0.0.beta08-29-201107121555-7d78460   
(org.scala-ide.sdt.weaving.feature.feature.group
   2.0.0.beta08-29-201107121555-7d78460) Missing requirement: JDT Weaving 2.1.3.e36x-20110622-1300   
(org.eclipse.contribution.weaving.jdt 2.1.3.e36x-20110622-1300)   
requires 'bundle org.eclipse.jdt.launching 3.5.100' but it could not
be found Cannot satisfy dependency: From: JDT Weaving for Scala
   2.0.0.beta08-29-201107121555-7d78460 (org.scala-ide.sdt.weaving.feature.feature.group

3个回答

7

Scala IDE 2.0 只能在 Eclipse 3.6 和 3.7 版本上运行。如果你想使用 Eclipse 3.5,你需要选择旧版本的 Scala IDE 1.0。

来自网页:

当前版本为 Scala IDE 2.0.0-beta8,适用于 Eclipse 3.6 和 3.7(Helios 和 Indigo),Scala 版本为 2.9.0.1。

如需支持 Eclipse 3.5(Galileo)和 Scala 2.8.1.final,请使用 Scala IDE 1.0.0-milestones 更新站点。


1
哪个版本的Eclipse适用于Scala和Groovy? - pkol
1
@niva:我建议使用3.6或3.7版本的Scala。至于Groovy,我不清楚。 - Jonas

3

您可以尝试通过市场进行安装。

enter image description here

这种方式非常好用,没有任何问题。

您可以参考此链接:https://youtu.be/DEvzfdlpruc


安装完后,Eclipse出现了许多错误,并且报错显示无法加载插件org.eclipse.jdt.uiorg.eclipse.jdt.internal.ui.javaeditor.CompilationUnitEditor. - Ahmed Hamdy
你正在使用哪个版本的Eclipse? - andani
我正在使用 Eclipse Luna。 - Ahmed Hamdy

2

网页内容由stack overflow 提供, 点击上面的
可以查看英文原文,
原文链接