2015-05-24 34 views
3

Error:Error while importing SBT project:播放框架2.3.7不在intellij上編譯14.1.3

(...)

at java.lang.Thread.run(Thread.java:745)

[error] (*:update) sbt.ResolveException: unresolved dependency: sbt-run-> support-210#sbt-run-support-210_2.10;0.1-SNAPSHOT: not found Invalid response.

See complete log in > /Users/HulkHogan/Library/Logs/IntelliJIdea14/sbt.last.log

有沒有人知道如何解決這個問題?

我的項目正在從cli編譯。

我已經嘗試以下操作:從2.3.7

  • 升級發揮2.3.9
  • 運行 「激活思想」
  • 重新啓動的IntelliJ 14.1.3
+0

嘗試將Intellij降級到更低版本。它可能是'scala'插件錯誤。 –

+0

@MonCalamari,而不是降級IntelliJ,爲什麼不升級scala插件? Play文檔建議升級到最新版本的Scala。 –

回答

4

根據this,yo你需要更新你的project/plugins.sbt文件。用2.3.6替換sbt插件的版本(是最新版本嗎?)

+0

這對我有效,謝謝! – eduardohl

2

刪除。想法/模塊並重新啓動Intellij解決了問題

+0

我正在使用播放框架2.4.4和sbt插件2.4.6(最新的sbt插件截至目前),並刪除.idea /模塊爲我工作。我想知道爲什麼。 順便說一下@ martin-h-works,你應該更新你的答案。我認爲你的意思是.idea/modules(沒有像.idea_modules這樣的文件夾)。 而且,我不必重新啓動IntelliJ。我只是重新運行這個項目,並且能夠編譯。 –