1

I would like to add bootstrap 3 to my play 2.3 project, however play is not able to find the webjars-play dependency.

[warn]  ::::::::::::::::::::::::::::::::::::::::::::::
[warn]  ::          UNRESOLVED DEPENDENCIES         ::
[warn]  ::::::::::::::::::::::::::::::::::::::::::::::
[warn]  :: org.webjars#webjars-play_2.11;2.3-M1: not found
[warn]  ::::::::::::::::::::::::::::::::::::::::::::::

I have tried the following versions:

2.3-M1

libraryDependencies ++= Seq(
  "org.webjars" %% "webjars-play" % "2.3-M1",
  "org.webjars" % "bootstrap" % "3.0.2"
)

2.2.1-2

libraryDependencies ++= Seq(
  "org.webjars" %% "webjars-play" % "2.2.1-2",
  "org.webjars" % "bootstrap" % "3.0.2"
)

2.1.0-2

libraryDependencies ++= Seq(
  "org.webjars" %% "webjars-play" % "2.1.0-2",
  "org.webjars" % "bootstrap" % "3.0.2"
)

Is there a new version available that i cannot seem to find? Any help would be appreciated.

4

1 回答 1

4

似乎 2.3-M1 没有针对 Scala 2.11 进行交叉编译,鉴于它正在尝试解析,您似乎正在将其用于您的项目:org.webjars#webjars-play_ 2.11 ;2.3-M1。

虽然 2.3.0 已经发布,并且已经交叉编译到 Scala 2.11.0,所以将您的依赖项更改为:

"org.webjars" %% "webjars-play" % "2.3.0"
于 2014-06-11T22:27:08.787 回答