IntelliJ无法导入sbt项目。

5
Error while importing sbt project:

d; set _root_.org.jetbrains.sbt.StructureKeys.sbtStructureOptions in Global := "download resolveClassifiers" ;*/*:dumpStructureTo /private/var/folders/5v/g3zxt_7d64g3sd_56bzpqbvh0000gn/T/sbt-structure.xml; session clear-all
[error] Expected ID character
[error] Not a valid command: d
[error] Expected 'debug'
[error] Expected project ID
[error] Expected configuration
[error] Expected ':' (if selecting a configuration)
[error] Expected key
[error] Not a valid key: d
[error] d; set _root_.org.jetbrains.sbt.StructureKeys.sbtStructureOptions in Global := "download resolveClassifiers" ;*/*:dumpStructureTo /private/var/folders/5v/g3zxt_7d64g3sd_56bzpqbvh0000gn/T/sbt-structure.xml; session clear-all
[error]  ^

./project/build.properties 中将 sbt 版本升级至 sbt.version=0.13.16 后,出现了错误。但从终端使用 sbt 是完全正常的。

更新:我找到的一个解决方法是禁用通过 sbt shell 导入项目。


没有人回答 :( - Phuc Coi
1个回答

0

尝试删除目标文件夹,然后再次运行命令


网页内容由stack overflow 提供, 点击上面的
可以查看英文原文,
原文链接