Grails 2.1.0 unable to install webflow plugin

荒凉一梦 提交于 2019-12-25 18:21:30

问题


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

Does anyone have any ideas?

Thanks


回答1:


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

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

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/



来源:https://stackoverflow.com/questions/11902753/grails-2-1-0-unable-to-install-webflow-plugin

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!