简体   繁体   English

如何将json4s库添加到Scala

[英]How to add json4s library to Scala

Added to build.sbt file this line: 在以下行中添加到build.sbt文件:

libraryDependencies += "org.json4s" %% "json4s-jackson" % "3.2.11"

And i can't see that the library is added. 而且我看不到该库已添加。 Maybe i need to do some build to this file? 也许我需要对该文件进行一些构建?

Did you do an SBT refresh? 您是否进行了SBT刷新?

You do that by clicking on the right sidebar, where it says "Sbt" and then in the top-left corner of the opened tab, there's a refresh button. 您可以通过单击右侧栏上的“ Sbt”,然后在打开的选项卡的左上角执行此操作,以得到一个刷新按钮。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM