开发者

ReCaptcha.scala.scala:114: not found: value compact

I have the following code:

http://www.assembla.com/spaces/liftweb/wiki/ReCaptcha

and compile the project(sbt), send me the following message开发者_C百科:

src/main/scala/code/model/ReCaptcha.scala.scala:114: not found: value compact

[error] val RecaptchaOptions = compact(render(reCaptchaOptions))

any suggestions please :(


Compact comes from lift-json I would imagine as thats the only place I recall that method being defined. Try adding this import:

  import net.liftweb.json.JsonAST._

In addition, you may want to refer to the lift-json documentation for usage on compact(...)

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜