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(...)
精彩评论