1
我在IntelliJ 2017.1 Ultimate中編寫了一個簡單的測試用例。而我看到的IntelliJ類必須聲明爲抽象或實現convertToLegacyCheckingEqualizer
class must either be declared abstract or implement convertToLegacyCheckingEqualizer
我的代碼編譯並運行絕對罰款的IntelliJ版始終顯示此消息爲每個測試類的絕對虛假的錯誤信息。
我用Google搜索,發現類似
* I restarted my IDE to solve the problem
* I deleted my idea project and recreated it to solve the problem
* I cleared ivy cache to solve the problem.
完全不能令人滿意的答案該解決方案是絕對錯誤的,並不能真正解決問題。
你可以發佈一個簡單的,一流的項目來說明問題嗎?你正在使用_SBT_?你是否使用_IntelliJ Scala_插件(我假設你是這樣的,但從你的問題來看並不明顯)。沒有看到代碼的定義和你的_IntelliJ_配置,就無法幫助你。 –
我拍了一個問題的截圖。是的,我正在使用SBT和Scala插件。 –