问题
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