【问题标题】:scalafmt download error while using nexus使用nexus时scalafmt下载错误
【发布时间】:2023-01-13 17:21:14
【问题描述】:

我想使用 Nexus 在公司网络(在 Windows 机器上)中使用 Scalafmt。如果我运行scalafmt,我会遇到以下错误

[error] failed to resolve Scalafmt version '2.4.6': X:\ProjectA\.scalafmt.conf
[error] (Compile / scalafmt) failed to resolve Scalafmt version '2.6.4': X:\ProjectA\.scalafmt.conf
[error] Total time: 87 s (01:27), completed 10-Jan-2023 10:56:22

我已经有了 COURSIER_REPOSITORIES 环境变量。

  • SBT版本:1.6.2

  • scalafmt 插件:2.2.1

  • .scalafmt 中的版本:2.4.6

我是否缺少任何解析器或任何设置?

【问题讨论】:

标签: scala intellij-idea sbt sbt-plugin scalafmt


【解决方案1】:

请确保您的公司 Nexus 中有 scalafmt 2.4.6。也可能有 scalafmt 但版本较旧。

【讨论】:

    猜你喜欢
    • 2018-01-14
    • 2020-07-29
    • 1970-01-01
    • 1970-01-01
    • 2018-09-12
    • 1970-01-01
    • 2013-01-18
    • 1970-01-01
    • 2015-12-23
    相关资源
    最近更新 更多