我正在尝试使用我的 grails 1.3.9 版本安装 webflow 插件版本。
我尝试了以下方法。,
使用命令
grails intall-plugin webflow 1.3.8
结果是:org.grails#grails-webflow;1.3.8: not found
修改 buildConfig 文件并添加行
插件{ 编译“:webflow:1.3.8”
当运行应用程序结果是:
UNRESOLVED DEPENDENCIES
org.grails.plugins#webflow;1.3.8: not found
我不知道还能尝试什么。请帮助。
存储库已更改,它导致旧 Grails 版本出现问题。
查看我的回答:Grails Url shortener plugin not getting installed:
请使用
mavenRepo "https://repo.grails.org/grails/plugins"
作为存储库定义。
我在安装依赖项时也遇到了类似的问题。
我还更改了 Build.config 文件中的 maven repo URL,因为不再有 rails repos 可用。但是,由于我的 JDK 是 1.6,它也失败了,因为它不支持开箱即用的 TLS1.2。
repositories {
grailsCentral()
grailsPlugins()
grailsHome()
mavenRepo "https://repo.grails.org/artifactory/plugins/"
}
因此使用反向代理指向 grails 存储库,如以下堆栈溢出线程中所述。