AppCrawler 在 intellij IDEA 中选择 build.sbt 导入工程,构建过程报错

拂晓 · 2018年07月13日 · 最后由 工凡不凡 回复于 2021年09月22日 · 2347 次阅读

从 github 上下载了 seveniruby/AppCrawler 路径下的工程,在 intellij IDEA 中选择 build.sbt 导入工程,在构建过程中报告,无法构建,求大神解答
在如下页面点 OK,开始构建,一段时间后报错。

报错日志如下:
Error:Error while importing SBT project:
...

[error]   at sbt.MainLoop$.runAndClearLast(MainLoop.scala:52)
[error] at sbt.MainLoop$.runLoggedLoop(MainLoop.scala:37)
[error] at sbt.MainLoop$.runLogged(MainLoop.scala:29)
[error] at sbt.StandardMain$.runManaged(Main.scala:104)
[error] at sbt.xMain.run(Main.scala:71)
[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.
[error] Not a valid key: dump-structure (similar: buildStructure)
[error] /:dump-structure
[error] ^
Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=384M; support was removed in 8.0

See complete log in C:\Users\baker.IntelliJIdea15\system\log\sbt.last.log
共收到 2 条回复 时间 点赞

您好,问题解决了吗,请问

删除工程下的.git 文件 再重新导入

需要 登录 后方可回复, 如果你还没有账号请点击这里 注册