gpt4 book ai didi

scala - 如何在同一个 Eclipse 中安装 Scala 插件和 AJDT

转载 作者:行者123 更新时间:2023-12-01 04:21:49 33 4
gpt4 key购买 nike

尝试将 AJDT 和 Scala 2.7.5 插件安装到 Eclipse 3.5 中时出现错误。

我记得有一次看到一条消息,说安装这两者存在已知问题,解决方案是安装 Scala 插件的预发布版本,从我相信,然后安装 AJDT。

但是,我不记得是哪个版本,也找不到下载旧预发布版本的链接。

所以,我想知道是否有人知道我如何安装两者。

谢谢你。

编辑:
我刚刚试了一下,得到了这个错误,所以 AJDT 1.7.0 不起作用。 :(

    Cannot complete the install because of a conflicting dependency.
Software being installed: Scala Eclipse Plugin 2.7.5.final (ch.epfl.lamp.sdt.feature.group 2.7.5.final)
Software being installed: AspectJ Development Tools 2.0.0.e35x-20090624-1600 (org.eclipse.ajdt.feature.group 2.0.0.e35x-20090624-1600)
Only one of the following can be installed at once:
JDT Weaving 2.0.0.e35x-20090624-1600 (org.eclipse.contribution.weaving.jdt 2.0.0.e35x-20090624-1600)
JDT Weaving 1.6.4.20090313172428 (org.eclipse.contribution.weaving.jdt 1.6.4.20090313172428)
Cannot satisfy dependency:
From: Scala Eclipse Plugin 2.7.5.final (ch.epfl.lamp.sdt.feature.group 2.7.5.final)
To: org.eclipse.contribution.weaving.jdt [1.6.4.20090313172428]
Cannot satisfy dependency:
From: AspectJ Development Tools 2.0.0.e35x-20090624-1600 (org.eclipse.ajdt.feature.group 2.0.0.e35x-20090624-1600)
To: org.eclipse.contribution.weaving.jdt [2.0.0.e35x-20090624-1600]

最佳答案

根据 this thread ,

2.7.5.final is compatible with AJDT 1.7.0 on Eclipse 3.5.



如果您有 AJDT (AspectJ Development Tools) 2.0.x , 你能不能尝试降级到 1.7.0 为 suggested in this thread ?

正如 OP ( James Black ) 本人在评论中详细说明的那样,两个 AJDT 版本实际上都是 2.0!

来自“ AJDT 2.0.0 - New and Noteworthy ”:

  • Release for AJDT targeting Eclipse 3.5: 2.0.0_e35x2009XXXXXX
  • Release for AJDT targeting Eclipse 3.4: 2.0.0_e34x2009XXXXXX

So this means that AJDT 1.6.5 has been renamed AJDT 2.0.0_e34x and AJDT 1.7.0 has been renamed AJDT 2.0.0_e35x.
Although this is potentially confusing in the short term, we believe in the long term, this will be more informative and users will be able to read the version and immediately know which Eclipse version it targets and also what feature level it contains.



要使用 OP 的反馈完成此答案:
  • AJDT update site
  • "Eclipse Galileo, AJDT, Scala Eclipse plugin 2.7.5 "

  • Hmm ... if you can live with one of the 1.7.0 AJDT builds you should be OK.
    Cheers, Miles



    感谢您的提示 - 它有效!
    我用过 ajdt_1.7.0.20090513085548_archive.zip 从 AJDT 下载。
    欢呼波特

    关于scala - 如何在同一个 Eclipse 中安装 Scala 插件和 AJDT,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/1290307/

    33 4 0
    Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
    广告合作:1813099741@qq.com 6ren.com