2017-11-18 213 views
2

這裏是SBT的全新品牌,這可能是罪魁禍首。我試圖讓IntelliJ Community 2017.2導入我的a simple Scala/SBT projectIntelliJ無法找到Scala/SBT GetClassifiersModule

當您克隆該回購時,您可以(如果您需要)運行sbt compile和/或sbt run來驗證小小的Driver.scala源碼編譯並按預期運行。

但是當我試圖將其導入的IntelliJ:

enter image description here

enter image description here

enter image description here

enter image description here

糟糕!這是一個巨大的堆棧跟蹤但結尾:

[error]  at xsbt.boot.Launch$$anonfun$apply$1.apply(Launch.scala:35) 
[error]  at xsbt.boot.Launch$.launch(Launch.scala:117) 
[error]  at xsbt.boot.Launch$.apply(Launch.scala:18) 
[error]  at xsbt.boot.Boot$.runImpl(Boot.scala:41) 
[error]  at xsbt.boot.Boot$.main(Boot.scala:17) 
[error]  at xsbt.boot.Boot.main(Boot.scala) 
[error] java.lang.BootstrapMethodError: java.lang.NoClassDefFoundError: sbt/internal/librarymanagement/GetClassifiersModule 
[error] Use 'last' for the full log. 

任何想法是怎麼回事?我的項目中有什麼(見GH回購)跳出來?

回答