sbt Could not find launcher jar: ./bin/sbt-launch.jar

血红的双手。 提交于 2019-12-23 23:00:11

问题


I have been using sbt successfully for basic Scala compiling for several years, but the other day it just quit working for some reason. I was using it in my own account, but I decided to have my sysadmin install the latest version on our local network. When I try to run it, I get

Could not find launcher jar: ./bin/sbt-launch.jar

The launcher jar file is right there in the bin directory, and I am baffled as to why it is not found. I even tried the -sbt-jar option, but that did not help. I also tried renaming my old .sbt configuration directory (to disable it in case it was somehow interfering with the new installation), but that didn't help either. Any ideas? Thanks.


回答1:


Finally figured it out -- with some help from tech support. When I removed all of the LD_LIBRARY_PATH elements from my .bashrc file, it worked again. Lots of junk had accumulated there over the years.



来源:https://stackoverflow.com/questions/50769321/sbt-could-not-find-launcher-jar-bin-sbt-launch-jar

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!