简体   繁体   English

Grails 2.1.0无法安装Webflow插件

[英]Grails 2.1.0 unable to install webflow plugin

I'm running Grails 2.1.0 and I can't install the webflow 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
::::::::::::::::::::::::::::::::::::::::::::::

Does anyone have any ideas? 有人有什么想法吗?

Thanks 谢谢

install-plugin is deprecated in grails 2.0. 在grails 2.0中不推荐使用install-plugin。 Edit plugins section from BuildConfig.groovy file: 从BuildConfig.groovy文件中编辑插件部分:

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

And happy webflow coding. 和快乐的webflow编码。 By the way, if you want understand more deeply grails webflow I recomend you to read http://livesnippets.cloudfoundry.com/docs/ 顺便说一句,如果您想更深入地了解grails webflow,建议您阅读http://livesnippets.cloudfoundry.com/docs/

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM