Grails无法安装插件

问题描述 投票:0回答:2

我正在尝试使用我的 grails 1.3.9 版本安装 webflow 插件版本。

我尝试了以下方法。,

  1. 使用命令

    grails intall-plugin webflow 1.3.8
    结果是:
    org.grails#grails-webflow;1.3.8: not found

  2. 修改 buildConfig 文件并添加行

    插件{ 编译“:webflow:1.3.8”

当运行应用程序结果是:

UNRESOLVED DEPENDENCIES
org.grails.plugins#webflow;1.3.8: not found

我不知道还能尝试什么。请帮助。

grails plugins spring-webflow
2个回答
19
投票

存储库已更改,它导致旧 Grails 版本出现问题。

查看我的回答:Grails Url shortener plugin not getting installed:

请使用

mavenRepo "https://repo.grails.org/grails/plugins"

作为存储库定义。

http://grails.1312388.n4.nabble.com/Grails-central-repo-seemingly-missing-plugin-versions-td4658720.html


0
投票

我在安装依赖项时也遇到了类似的问题。

我还更改了 Build.config 文件中的 maven repo URL,因为不再有 rails repos 可用。但是,由于我的 JDK 是 1.6,它也失败了,因为它不支持开箱即用的 TLS1.2。

repositories {
        grailsCentral()
        grailsPlugins()
        grailsHome()
        mavenRepo "https://repo.grails.org/artifactory/plugins/"

}

因此使用反向代理指向 grails 存储库,如以下堆栈溢出线程中所述。

如何在 Java 6 中使用 TLS 1.2

© www.soinside.com 2019 - 2024. All rights reserved.