无法使用自定义sbt-launch.jar将sbt项目导入intellij

时间:2016-02-13 21:02:54

标签: intellij-idea sbt

我需要比内置的Intellij更新的功能。所以我使用Custom sbt launch-jar指向我的0.13.9 sbt。自定义sbt 被调用并在构建中比内置的Intellij更进一步。

但是构建失败了:它似乎正在寻找内置的intellij类:

2016-02-13 12:54:27,355 [ 171733]   WARN - nal.AbstractExternalSystemTask - 
   Error while importing SBT project:

    at sbt.MainLoop$$anonfun$runWithNewLog$1.apply(MainLoop.scala:70)
    at sbt.MainLoop$$anonfun$runWithNewLog$1.apply(MainLoop.scala:65)
    at sbt.Using.apply(Using.scala:24)
    at sbt.MainLoop$.runWithNewLog(MainLoop.scala:65)
     <snip>
    at xsbt.boot.Launch$.run(Launch.scala:109)
    at xsbt.boot.Launch$$anonfun$apply$1.apply(Launch.scala:35)
    at xsbt.boot.Launch$.launch(Launch.scala:117)
    at xsbt.boot.Launch$.apply(Launch.scala:18)
    at xsbt.boot.Boot$.runImpl(Boot.scala:41)
    at xsbt.boot.Boot$.main(Boot.scala:17)
    at xsbt.boot.Boot.main(Boot.scala)
[error] java.lang.ClassNotFoundException: org.jetbrains.sbt.ReadProject$
[error] Use 'last' for the full log.

See complete log in /Users/steve/Library/Logs/IntelliJIdea14/sbt.last.log 

那么我们似乎有一个Catch-22:Intellij允许使用Custom sbt。但是它需要来自其内置的sbt ??

的类

任何人都有使用自定义sbt构建的经验并知道如何解决这个问题吗?

我在IJ 14.1.4。

0 个答案:

没有答案