尝试在Intellij

时间:2016-12-27 19:44:45

标签: intellij-idea sbt

这是尝试在Intellij 2016.3终极中打开sbt项目:

enter image description here

我们接到以下友好通知:

enter image description here

Afa sbt详细信息:我已通过sbt

安装了homebrew

该路径确实不存在。所以我去了Preferences | Build Execution Deployment | SBT来修复路径:

$ll /usr/local/Cellar/sbt/0.13.13/libexec/sbt-launch.jar
-rwxr-xr-x  1 boescst  USWIN\Domain Users  1210231 Oct 28 10:46 /usr/local/Cellar/sbt/0.13.13/libexec/sbt-launch.jar

让我们'更新路径:

enter image description here

但是仍会出现相同的错误消息。 Intellij中还有其他地方需要更新吗?

尝试导入sbt项目时发生以下情况:

enter image description here

以下对话框中有一个Show Logs链接,但点击它却什么也没做。

enter image description here

另一次更新我手动打开了idea.log。它显示基本相同的信息:

  

2017-01-04 18:07:21,280 [34384]警告 -   nal.AbstractExternalSystemTask - SBT启动程序不存在:   /usr/local/Cellar/sbt/0.13.9/libexec/sbt-launch.jar   com.intellij.openapi.externalSystem.model.ExternalSystemException:SBT   启动器不存在:   /usr/local/Cellar/sbt/0.13.9/libexec/sbt-launch.jar at   org.jetbrains.sbt.project.SbtProjectResolver.resolveProjectInfo(SbtProjectResolver.scala:61)     在   org.jetbrains.sbt.project.SbtProjectResolver.resolveProjectInfo(SbtProjectResolver.scala:28)     在   com.intellij.openapi.externalSystem.service.remote.RemoteExternalSystemProjectResolverImpl.a(RemoteExternalSystemProjectResolverImpl.java:37)     在   com.intellij.openapi.externalSystem.service.remote.AbstractRemoteExternalSystemService.execute(AbstractRemoteExternalSystemService.java:59)     在   com.intellij.openapi.externalSystem.service.remote.RemoteExternalSystemProjectResolverImpl.resolveProjectInfo(RemoteExternalSystemProjectResolverImpl.java:37)     在   com.intellij.openapi.externalSystem.service.remote.wrapper.ExternalSystemProjectResolverWrapper.resolveProjectInfo(ExternalSystemProjectResolverWrapper.java:49)     在   com.intellij.openapi.externalSystem.service.internal.ExternalSystemResolveProjectTask.doExecute(ExternalSystemResolveProjectTask.java:51)     在   com.intellij.openapi.externalSystem.service.internal.AbstractExternalSystemTask.execute(AbstractExternalSystemTask.java:139)     在   com.intellij.openapi.externalSystem.service.internal.AbstractExternalSystemTask.execute(AbstractExternalSystemTask.java:125)     在   com.intellij.openapi.externalSystem.util.ExternalSystemUtil $ 3.execute(ExternalSystemUtil.java:414)     在   com.intellij.openapi.externalSystem.util.ExternalSystemUtil $ 4.run(ExternalSystemUtil.java:486)     在   com.intellij.openapi.progress.impl.CoreProgressManager $ TaskRunnable.run(CoreProgressManager.java:710)     在   com.intellij.openapi.progress.impl.CoreProgressManager $ 11.run(CoreProgressManager.java:423)     在   com.intellij.openapi.progress.impl.CoreProgressManager $ 3.run(CoreProgressManager.java:179)     在   com.intellij.openapi.progress.impl.CoreProgressManager.a(CoreProgressManager.java:568)     在   com.intellij.openapi.progress.impl.CoreProgressManager.executeProcessUnderProgress(CoreProgressManager.java:519)     在   com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:54)     在   com.intellij.openapi.progress.impl.CoreProgressManager.runProcess(CoreProgressManager.java:164)     在   com.intellij.openapi.application.impl.ApplicationImpl.a(ApplicationImpl.java:569)     在   com.intellij.openapi.application.impl.ApplicationImpl $ 2.run(ApplicationImpl.java:309)     在   java.util.concurrent.Executors $ RunnableAdapter.call(Executors.java:511)     在java.util.concurrent.FutureTask.run(FutureTask.java:266)at   java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)     在   java.util.concurrent.ThreadPoolExecutor中的$ Worker.run(ThreadPoolExecutor.java:617)     在java.lang.Thread.run(Thread.java:745)   java.io.FileNotFoundException:SBT启动程序不存在:   /usr/local/Cellar/sbt/0.13.9/libexec/sbt-launch.ja

我已经 重复 尝试更改sbt启动设置。错误仍然存​​在。 Intellij正在某处缓存这些信息。我甚至删除了.idea和.iml文件。结果相同。现在我 重新安装了Intellij 。还是一样的问题!有没有搞错 !!!???

1 个答案:

答案 0 :(得分:1)

对于Launcher,在首选项窗口中,选择“捆绑”选项而不是自定义。