scala - SBT 同步在 intellij 上引发错误“无法添加依赖项”
问题描述
我在 IntelliJ 上收到以下错误,为什么我要运行sbt sync
[error] stack trace is suppressed; run 'last ProjectRef(uri("file:/Users/tushar/Documents/Projects/zio-rocksdb/"), "zio-rocksdb") / updateSbtClassifiers' for the full output
[error] (ProjectRef(uri("file:/Users/tushar/Documents/Projects/zio-rocksdb/"), "zio-rocksdb") / updateSbtClassifiers) java.lang.IllegalArgumentException: Cannot add dependency 'com.typesafe#ssl-config-core_2.12;0.4.0' to configuration 'default' of module dev.zio#zio-rocksdb$sbt_2.12;0.2.0+3-114b41b9+20200418-1131 because this configuration doesn't exist!
[error] Total time: 2 s, completed 18-Apr-2020, 11:31:05 AM
构建.sbt
name := "scala-interview-scheduler"
version := "0.1"
scalaVersion := "2.13.1"
// ZIO Core
lazy val zioVersion = "1.0.0-RC18"
// Project Scheduler
lazy val scheduler =
(project in file("scheduler"))
// Project Storage
lazy val storage = (project in file("storage"))
.settings(
libraryDependencies ++= Seq(
"io.suzaku" %% "boopickle" % "1.3.1"
)
)
.dependsOn(ProjectRef(file("../zio-rocksdb"), "zio-rocksdb"))
// Project Program
lazy val program = (project in file("program"))
.dependsOn(scheduler)
// Testing
ThisBuild / libraryDependencies ++= Seq(
"dev.zio" %% "zio" % zioVersion,
"dev.zio" %% "zio-test" % zioVersion % "test",
"dev.zio" %% "zio-test-sbt" % zioVersion % "test"
)
ThisBuild / testFrameworks += new TestFramework("zio.test.sbt.ZTestFramework")
// Global Options
ThisBuild / scalacOptions ++= Seq(
"-language:postfixOps",
"-language:implicitConversions",
"-feature"
)
这是什么意思?
解决方案
推荐阅读
- angularjs - 将值从视图(iFrame)传递到angularjs中的控制器
- php - PHP 是否适合长时间执行,例如网络爬取和处理大文件?
- sql - 使用数据透视为以下输出创建查询
- c# - 在 Windows 10 64 位中使用水晶报表不显示值
- javascript - JavaScript 代码即使在注释后也会执行
- php - 使用 Prepared Statement 在数据库中插入数据时出错
- asp.net - 如何从 SQL Server 数据库中获取数据并在 dropdownlist + asp.net vb 中显示
- gremlin - 在遍历期间在 2 个可用边之间进行选择
- node.js - node.js express-session在路由器中不起作用
- html - CSS 框阴影动画像素艺术闪烁