2017-11-18 123 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回购)跳出来?

回答

相关问题