如何在Intellij Idea中使用自定义sbt版本? [英] How to use custom sbt version in Intellij Idea?
问题描述
我有一个scala sbt项目.当我在intellij中打开一个终端并执行sbt sbtVersion时,我看到了0.13.8.我想使用自己的本地安装程序0.13.5.当我打开一个新的命令提示符时,我看到sbt版本是0.13.5,但是在IntelliJ终端中,即使我将"Settings-> SBT"配置为指向自定义的"sbt",它仍会说0.13.8. -launch.jar"而不是捆绑在一起.如何让IntelliJ使用我的SBT旧版本"?
I have a scala sbt project. When I open a terminal in intellij and do sbt sbtVersion, I see 0.13.8. I want to use my own local install that is 0.13.5. When I open up a new command prompt, I see that the sbt version is 0.13.5, but in the IntelliJ terminal, it keeps saying 0.13.8 even though I configured my "Settings->SBT" to point to a custom "sbt-launch.jar" instead of bundled. How to I get IntelliJ to use my "older version" of SBT?
我遇到的主要问题是:
服务器访问错误:sun.security.validator.ValidatorException:PKIX路径构建失败:sun.security.provider.certpath.SunCertPathBuilderException:无法找到到请求目标的有效认证路径
Server access Error: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
我听说SBT 0.13.5是要使用的版本,但是我很难告诉IntelliJ使用它.
I heard that SBT 0.13.5 is the version to use, but I am having trouble telling IntelliJ to use it.
推荐答案
如屏幕截图所示,它位于
As shown in the screenshot it is under
首选项|构建,执行,部署|生成工具| SBT.
Preferences | Build,Execution,Deployment | Build Tools | SBT .
在该对话框中,它是
发射器(sbt-launch.jar)
Launcher (sbt-launch.jar)
这篇关于如何在Intellij Idea中使用自定义sbt版本?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!