0

我正在运行 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
::::::::::::::::::::::::::::::::::::::::::::::

有没有人有任何想法?

谢谢

4

1 回答 1

0

install-plugin 在 grails 2.0 中已被弃用。从 BuildConfig.groovy 文件编辑插件部分:

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

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

于 2012-08-13T14:54:59.113 回答