Scala &引用;项目刷新失败错误“;在IntelliJ IDEA中启动SBT项目时
我正在MAC OS High Sierra 10.13.1上使用IntelliJ IDEA 2017.2.5 以下是错误日志:Scala &引用;项目刷新失败错误“;在IntelliJ IDEA中启动SBT项目时,scala,Scala,我正在MAC OS High Sierra 10.13.1上使用IntelliJ IDEA 2017.2.5 以下是错误日志: Error:Error while importing SBT project: ... [error] at sbt.MainLoop$.$anonfun$runWithNewLog$1(MainLoop.scala:107) [error] at sbt.io.Using.apply(Using.scala:22) [error] at
Error:Error while importing SBT project:
...
[error] at sbt.MainLoop$.$anonfun$runWithNewLog$1(MainLoop.scala:107)
[error] at sbt.io.Using.apply(Using.scala:22)
[error] at sbt.MainLoop$.runWithNewLog(MainLoop.scala:101)
[error] at sbt.MainLoop$.runAndClearLast(MainLoop.scala:57)
[error] at sbt.MainLoop$.runLoggedLoop(MainLoop.scala:42)
[error] at sbt.MainLoop$.runLogged(MainLoop.scala:34)
[error] at sbt.StandardMain$.runManaged(Main.scala:113)
[error] at sbt.xMain.run(Main.scala:76)
[error] at xsbt.boot.Launch$$anonfun$run$1.apply(Launch.scala:109)
[error] at xsbt.boot.Launch$.withContextLoader(Launch.scala:128)
[error] at xsbt.boot.Launch$.run(Launch.scala:109)
[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.ClassNotFoundException: org.jetbrains.sbt.CreateTasks$
[error] Use 'last' for the full log.
[info] shutting down server
在SBT设置中(打开右侧的SBT选项卡,单击齿轮图标),选中[X]“使用SBT外壳进行构建和导入”完成了该操作。SBT项目是否在IntelliJ之外工作?是的SBT控制台在IntelliJ之外工作。我还能够用IntelliJ中的Scala控制台解决这个问题。似乎工作目录设置不正确。谢谢你的回复@Ish您针对这个问题实施了什么解决方案?谢谢您。