【问题标题】:Grails unable to install pluginGrails 无法安装插件
【发布时间】:2015-04-27 06:12:31
【问题描述】:

我正在尝试使用我的 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


    【解决方案1】:

    存储库已更改,导致旧 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

    【讨论】:

    • 它不适用于 Spring 安全插件。 Spring 安全插件的依赖关系仍未解决。
    • 太棒了!谢谢。我收到 Shiro 插件的错误并添加它解决了这个问题。
    猜你喜欢
    • 2011-10-12
    • 2014-10-20
    • 1970-01-01
    • 1970-01-01
    • 2013-11-13
    • 1970-01-01
    • 2015-02-05
    • 2016-09-05
    • 2015-04-22
    相关资源
    最近更新 更多