原文地址:https://www.cnblogs.com/memento/p/9153012.html

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 中添加如下设置:

[Q&A] 解决 SBT 初始化或下载 jar 包速度慢的问题

[Q&A] 解决 SBT 初始化或下载 jar 包速度慢的问题

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

 

By. Memento

相关文章:

  • 2022-12-23
  • 2021-12-04
  • 2021-12-24
  • 2022-12-23
  • 2021-05-19
猜你喜欢
  • 2021-11-28
  • 2021-06-01
  • 2021-06-01
  • 2022-03-04
  • 2022-12-23
  • 2021-04-18
  • 2022-12-23
相关资源
相似解决方案