使用 sbt 生成带有icefaces的Web应用程序
我是 sbt 新手,我将使用 jsf 2.0 mojarra 和icefaces 生成一个 Web 应用程序,但我不知道如何构建 build.sbt。我尝试这样的事情:
libraryDependencies += "org.icefaces" % "icefaces" % "2.0.2"
libraryDependencies += "net.java" % "jsf-api" % "2.1.2"
libraryDependencies += "net.java" % "jsf-impl" % "2.1.2"
也许这是可怕的错误,sbt找不到模块:
找不到模块:com.sun.faces#jsf-impl:2.1.1-b04/ivys/ivy.xml
I'm new to sbt and I will generate a web application with jsf 2.0 mojarra and icefaces, but i don't know how to build the build.sbt. I try things like this:
libraryDependencies += "org.icefaces" % "icefaces" % "2.0.2"
libraryDependencies += "net.java" % "jsf-api" % "2.1.2"
libraryDependencies += "net.java" % "jsf-impl" % "2.1.2"
Maybe is this horrible wrong and sbt can't find the module:
module not found: com.sun.faces#jsf-impl:2.1.1-b04/ivys/ivy.xml
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
这仅适用于 sbt 0.10+。确保表达式之间保留空行。
This will only work with sbt 0.10+. Make sure you keep the blank lines between expressions.