gpt4 book ai didi

scala - Play Idea 失败 - 此版本的 sbt 0.11.3 没有 sbt-idea 插件

转载 作者:行者123 更新时间:2023-12-02 06:21:17 24 4
gpt4 key购买 nike

我被困住了。

我在 Mac 上,并安装了带有brew的类型安全堆栈

我使用 Play 新应用程序名称创建了一个新的 Play 项目,一切都很好。

我正在尝试使用play idea将其导入到intelliJ中 - 但当我这样做时,我收到以下错误;

[error] no sbt-idea plugin for this version of sbt - 0.11.3

我有戏了! 2.0.3 和 sbt 0.11.3

知道如何解决这个问题吗?

最佳答案

首先,确保您已关注:the official installation instructions

这当前将导致以下异常:

java.lang.NoSuchMethodError: org.sbtidea.SbtIdeaPlugin$.ideaSettings()Lscala/collection/Seq; at
sbt.PlayCommands$class.intellijCommandSettings(PlayCommands.scala:214)

当前修复是通过编辑project.plugins.sbt 文件降级到2.0.1:

// Comment to get more information during initialization
logLevel := Level.Warn

// The Typesafe repository
resolvers += "Typesafe repository" at "http://repo.typesafe.com/typesafe/releases/"

// Use the Play sbt plugin for Play projects
addSbtPlugin("play" % "sbt-plugin" % "2.0.1")

这似乎暂时解决了问题。

关于scala - Play Idea 失败 - 此版本的 sbt 0.11.3 没有 sbt-idea 插件,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/11969375/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com