我想在我的play framework2.0项目中使用com.google.gson,我已经将jar文件包含在库中,并且还提到他们在我的build.scala文件中,但它仍然给我错误:package com.google.gson
不存在。错误:com.google.gson包不存在(在框架2.0)
我build.scala
文件看起来像:
val appDependencies = Seq(
// Add your project dependencies here,
"com.google.gson" % "gson" % "2.2.2"
)
,我已经从here
请建议我应该包括在build.scala
的所有三个jar文件下载的jar文件?或我的build.scala文件是正确的?
做你运行'玩update'然后'稍后播放eclipsify' ? (如果你使用eclipse作为你的IDE) – adis 2012-07-26 10:56:28