![](/img/trans.png)
[英]sbt version and scala version. project configuration for intellij idea with sbt-idea plugin
[英]Play Idea failing - no sbt-idea plugin for this version of sbt 0.11.3
我被卡住了。
我在Mac上安裝了brew的類型安全堆棧
我用play new appname創建了一個新的play項目,一切都很好。
我正在嘗試使用游戲創意將其導入intelliJ - 但是當我這樣做時,我得到以下錯誤;
[error] no sbt-idea plugin for this version of sbt - 0.11.3
我玩了! 2.0.3和sbt 0.11.3
知道我是如何解決這個問題的嗎?
首先,確保您遵循: 官方安裝說明
這將導致以下異常:
java.lang.NoSuchMethodError: org.sbtidea.SbtIdeaPlugin$.ideaSettings()Lscala/collection/Seq; at
sbt.PlayCommands$class.intellijCommandSettings(PlayCommands.scala:214)
目前的修復是通過編輯project.plugins.sbt文件降級到播放2.0.1:
// Comment to get more information during initialization
logLevel := Level.Warn
// The Typesafe repository
resolvers += "Typesafe repository" at "http://repo.typesafe.com/typesafe/releases/"
// Use the Play sbt plugin for Play projects
addSbtPlugin("play" % "sbt-plugin" % "2.0.1")
這似乎解決了現在的問題。
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.