[Q&A] 解决 SBT 初始化或下载 jar 包速度慢的问题
发布日期:2021-05-09 05:15:31 浏览次数:23 分类:精选文章

本文共 468 字,大约阅读时间需要 1 分钟。

原文地址:

C:\Users\用户名\.sbt 目录下添加一个 "repositories" 文件,注意没有后缀~

补充如下内容:

[repositories]  local  osc: http://maven.aliyun.com/nexus/content/groups/public  typesafe: http://repo.typesafe.com/typesafe/ivy-releases/, [organization]/[module]/(scala_[scalaVersion]/)(sbt_[sbtVersion]/)[revision]/[type]s/[artifact](-[classifier]).[ext], bootOnly  sonatype-oss-releases  maven-central  sonatype-oss-snapshots

并在 IDEA 中添加如下设置:

最后重启 IDEA 即可在下方 View 窗口中看到 sbt 加载 jar 进程了;

 

By. Memento

上一篇:[LTR] RankLib.jar 包介绍
下一篇:[Spark] Spark 安装配置

发表评论

最新留言

留言是一种美德,欢迎回访!
[***.207.175.100]2025年04月23日 18时00分35秒