更新时间:2023-01-10 10:30:27
将 commons-codec
添加到 Build.scala
你会没事的。依赖关系是正确的,因为指定的依赖关系将覆盖默认的依赖关系。
Add commons-codec
to your Build.scala
and you'll be fine. The dependencies will be correct since the specified dependency will override the ones that are default.
val appDependencies = Seq(
"commons-codec" % "commons-codec" % "1.7"
)
play编译
会做到这一点。并且你必须再次使项目重新开始。play compile
will do it. And you'll have to eclipsify the project again.不要忘记删除 commons-codec来自
。如上所述,它将被自动下载并放入类路径中。 lib
文件夹的
Don't forget to remove the commons-codec
from the lib
folder. As said it will be downloaded and put in the classpath automatically.