简体   繁体   中英

“sbt launcher does not exist” when attempting to open sbt project in Intellij

Here is an attempt to open an sbt project in Intellij 2016.3 ultimate:

在此处输入图片说明

We are greeted with the following friendly notification:

在此处输入图片说明

Afa sbt details: I have installed sbt via homebrew and

That path truly does not exist . So I went to Preferences | Build Execution Deployment | SBT Preferences | Build Execution Deployment | SBT Preferences | Build Execution Deployment | SBT to fix the path:

$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

Let' update the path:

在此处输入图片说明

However the same error message still occurs. Is there some other place in Intellij that needs to be updated?

The following happened when trying to import an sbt project:

在此处输入图片说明

The following dialog has a Show Logs link but clicking on it does nothing ..

在此处输入图片说明

Another update I opened the idea.log manually. It shows basically same information:

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

I have repeatedly tried changing the sbt launch settings. The error still occurs. Intellij is caching that information somewhere. I've even deleted the .idea and .iml files. Same result. Now I have reinstalled Intellij . Still same issue! What the heck !!!???

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

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM