2016-07-05 93 views
0

我正在學習scala編程。我已經安裝了IntelliJ IDEA和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] 

我不明白它是什麼。

您的幫助將不勝感激。

感謝, 普利文Mourya

回答

0

的SCA支持插件是不是斯卡拉插件。如果按設置|中的「安裝JetBrains插件」按鈕,則可以安裝Scala插件插件並在那裏搜索「Scala」。

SCA支持插件已損壞,您需要將其卸載。

+0

非常感謝Yole, 問題已解決.. :) – Praveen

+0

hi Yole, 我正在使用gatling壓力工具進行性能分析。我想在智能的想法上編譯scala代碼(這是由gatling記錄器記錄的)。我想知道,是否有任何插件來編譯gatling(scala)代碼,以便它可以幫助我調試錯誤? 現在,我必須使用scala終端(在intelliJ)或命令提示符來執行scala腳本。 謝謝! – Praveen