Grails 2.1.0无法安装webflow插件 [英] Grails 2.1.0 unable to install webflow plugin

查看:114
本文介绍了Grails 2.1.0无法安装webflow插件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

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

I'm running Grails 2.1.0 and I can't install the webflow plugin:

$ 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
::::::::::::::::::::::::::::::::::::::::::::::

有人有任何想法吗?

谢谢

推荐答案

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

install-plugin is deprecated in grails 2.0. Edit plugins section from BuildConfig.groovy file:

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

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

And happy webflow coding. By the way, if you want understand more deeply grails webflow I recomend you to read http://livesnippets.cloudfoundry.com/docs/

这篇关于Grails 2.1.0无法安装webflow插件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆