我正在学习scala编程。我也安装了intelliJ IDEA和scala插件。我收到了以下错误:
com.intellij.diagnostic.PluginException: Bad type on operand stack
Exception Details:
Location:
com/googlecode/sca4idea/SCAProjectComponent.<init>(Lcom/intellij/openapi/project/Project;)V @18: invokespecial
Reason:
Type 'com/intellij/psi/impl/source/resolve/reference/ReferenceProvidersRegistry' (current frame, stack[3]) is not assignable to 'com/intellij/psi/PsiReferenceRegistrar'
Current Frame:
bci: @18
flags: { }
locals: { 'com/googlecode/sca4idea/SCAProjectComponent', 'com/intellij/openapi/project/Project' }
stack: { 'com/googlecode/sca4idea/SCAProjectComponent', uninitialized 10, uninitialized 10, 'com/intellij/psi/impl/source/resolve/reference/ReferenceProvidersRegistry' }
Bytecode:
0x0000000: 2ab7 0010 2a2b b500 122a bb00 1459 2bb8
0x0000010: 001a b700 1db5 001f b1
[Plugin: SCA Support]
我无法理解它是什么。
非常感谢您的帮助。
谢谢, Praveen Mourya
答案 0 :(得分:0)
SCA支持插件不是Scala插件。如果按“设置”中的“安装JetBrains插件”按钮,则可以安装Scala插件插件并在那里搜索“Scala”。
SCA支持插件已损坏,您需要将其卸载。