Grails 2.1.0无法安装webflow插件

时间:2012-08-10 13:31:19

标签: grails grails-plugin

我正在运行Grails 2.1.0,我无法安装webflow插件:

$ grails install-plugin webflow
| Plugin installed.

$ grails
| Configuring classpath

:: problems summary ::
:::: WARNINGS
module not found: org.springframework.webflow#org.springframework.webflow;2.0.8.RELEASE
...
::::::::::::::::::::::::::::::::::::::::::::::
::          UNRESOLVED DEPENDENCIES         ::
::::::::::::::::::::::::::::::::::::::::::::::
:: org.springframework.webflow#org.springframework.webflow;2.0.8.RELEASE: not found
:: org.springframework.webflow#org.springframework.binding;2.0.8.RELEASE: not found
:: org.springframework.webflow#org.springframework.js;2.0.8.RELEASE: not found
::::::::::::::::::::::::::::::::::::::::::::::

有没有人有任何想法?

由于

1 个答案:

答案 0 :(得分:0)

在grails 2.0中不推荐使用

install-plugin。编辑BuildConfig.groovy文件中的插件部分:

plugins{
    ...
    compile ":webflow:2.0.0"
}

快乐的webflow编码。顺便说一句,如果你想更深入地了解grails webflow,我建议你阅读http://livesnippets.cloudfoundry.com/docs/