11

我将 Eclipse Juno 与 Java(Java build 1.7.0_05-b05 64bit)和 Scala-IDE 插件(用于 Eclipse 2.1.0.nightly-2_09-201207100348-f1d9c23 org.scala-ide.sdt.feature 的 Scala IDE。 feature.group scala-ide.org)。

以下是我对 Eclipse eclipse.ini 的自定义设置:

-vmargs
-Dosgi.requiredJavaVersion=1.7
-Dhelp.lucene.tokenizer=standard
-Xss8m
-Xms256m
-Xmx1536m
-XX:PermSize=64m
-server
-Xverify:none
-XX:+UnlockExperimentalVMOptions
-XX:+UseG1GC
-XX:MaxGCPauseMillis=50
-XX:+DoEscapeAnalysis
-XX:+UseCompressedOops

每次我尝试使用代码完成 Eclipse 时都会抛出 2 个错误窗口:

The 'Code Recommenders Calls Proposals' proposal computer from
the 'org.eclipse.recommenders.completion.rcp.calls' plug-in did
not complete normally.
The extension has thrown a runtime exception.

The 'Code Recommenders Overrides Proposals' proposal computer from
the 'org.eclipse.recommenders.completion.rcp.overrides' plug-in did
not complete normally.
The extension has thrown a runtime exception.

下面我的 scala-ide 日志显示:

[Xlint:cantFindType]
2012-07-10 15:37:29,404 ERROR [main] - System.err - 
[org.eclipse.jdt.launching] error can't determine modifiers of missing type
org.eclipse.pde.internal.ui.wizards.imports.PluginImportHelper
when weaving type org.eclipse.jdt.launching.JavaRuntime
when weaving classes 
when weaving 
[Xlint:cantFindType]

有没有什么办法解决这一问题?

谢谢你。

更新 1:禁用代码推荐器后,我的 Slaca-Ide 日志中出现不同的错误:

2012-07-10 16:10:24,342 ERROR [main] - System.err - [org.eclipse.jdt.debug.ui] 
error can't determine modifiers of missing type
org.eclipse.pde.internal.ui.wizards.imports.PluginImportHelper
when weaving type org.eclipse.jdt.internal.debug.ui.actions.ToggleBreakpointAdapter
when weaving classes
when weaving 
[Xlint:cantFindType]

但是 scala 代码完成现在可以正常工作

4

1 回答 1

2

你介意打开一个关于代码推荐器的错误报告,包括一个堆栈跟踪来解决这个问题吗?

于 2012-07-12T07:42:25.957 回答