IntellijでSBTプロジェクトを更新するのに問題があります。そして、私だけではありません。
これはsbt-consoleです:
/Library/Java/JavaVirtualMachines/jdk1.8.0_151.jdk/Contents/Home/bin/Java -agentlib:jdwp=transport=dt_socket,address=localhost:51917,suspend=n,server=y -Xdebug -server -Xmx1028M -Dfile.encoding=UTF-8 -Didea.runid=2017.2 -Didea.managed=true -jar "/Users/Pascal.mengelt/Library/Application Support/IntelliJIdea2018.1/Scala/launcher/sbt-launch.jar" idea-Shell
Listening for transport dt_socket at address: 51917
[info] Loading settings from idea.sbt ...
[info] Loading global plugins from /Users/user/.sbt/1.0/plugins
[info] Loading settings from plugins.sbt ...
[info] Loading project definition from /Users/Pascal.mengelt/GitHub/scala/scala-adapters-wizard/project
[info] Loading settings from build.sbt ...
[info] Set current project to wizardDemo (in build file:/Users/Pascal.mengelt/GitHub/scala/scala-adapters-wizard/)
[error] Not a valid command: idea-Shell (similar: Shell, oldshell)
[error] Not a valid project ID: idea-Shell
[error] Expected ':'
[error] Not a valid key: idea-Shell (similar: daemonShell)
[error] idea-Shell
[error] ^
[INFO] [04/13/2018 13:13:19.377] [Thread-2] [CoordinatedShutdown(akka://sbt-web)] Starting coordinated shutdown from JVM shutdown hook
そのためのIntellijの問題を見つけました(回避策あり):
SCL-12430有効なキーではありません:idea-Shell
はい、
~/.sbt/{0.13|1.0}/plugins/target
を削除します
ここで、Mateusz Kubuszokが提供するコマンド:
rm -rf ~/.sbt/{0.13,1.0}/plugins/target