原文地址:http://www.javashuo.com/article/p-gxlqsrlh-gw.htmlhtml
在 C:\Users\用戶名\.sbt 目錄下添加一個 "repositories" 文件,注意沒有後綴~maven
補充以下內容:ui
[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 中添加以下設置:scala
最後重啓 IDEA 便可在下方 View 窗口中看到 sbt 加載 jar 進程了;code
By. Mementohtm