How can I add the Play JSON library (play.api.libs.json
) to my sbt project?
When I added the following to my plugins.sbt
file:
addSbtPlugin("play" % "sbt-plugin" % "2.1.0")
I faced this error:
[warn] ::::::::::::::::::::::::::::::::::::::::::::::
[warn] :: UNRESOLVED DEPENDENCIES ::
[warn] ::::::::::::::::::::::::::::::::::::::::::::::
[warn] :: play#sbt-plugin;2.1.0: not found
[warn] ::::::::::::::::::::::::::::::::::::::::::::::
I did not find a resolver for this library, otherwise I would've added it and ran sbt update
. Note that my resolvers
includes http://repo.typesafe.com/typesafe/releases/.
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…