IntelliJ无法找到Scala/SBT GetClassifiersModule
问题描述:
这里是SBT的全新品牌,这可能是罪魁祸首。我试图让IntelliJ Community 2017.2导入我的a simple Scala/SBT project。IntelliJ无法找到Scala/SBT GetClassifiersModule
当您克隆该回购时,您可以(如果您需要)运行sbt compile
和/或sbt run
来验证小小的Driver.scala
源码编译并按预期运行。
但是当我试图将其导入的IntelliJ:
糟糕!这是一个巨大的堆栈跟踪但结尾:
[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回购)跳出来?
答
貌似https://youtrack.jetbrains.com/issue/SCL-12336,这个问题是固定在2017.3,请尝试2017.3 EAP https://www.jetbrains.com/idea/nextversion/