无法为grails 2.2.3安装可搜索的0.6.5

时间:2013-10-21 03:55:14

标签: grails searchable-plugin

当我需要可搜索的0.6.5 grails 2.2.3插件时,我修改了BuildConfigh.groovy如下:

dependencies {

compile ":searchable:0.6.5"
}

plugins {
    runtime ":hibernate:$grailsVersion"
    runtime ":jquery:1.8.3"
    runtime ":resources:1.2"
    test(":spock:0.7") {
        exclude "spock-grails-support"}
    // Uncomment these (or add new ones) to enable additional resources capabilities
    //runtime ":zipped-resources:1.0"
    //runtime ":cached-resources:1.0"
    //runtime ":yui-minify-resources:0.1.5"

    build ":tomcat:$grailsVersion"

    runtime ":database-migration:1.3.2"

    compile ':cache:1.0.1'
    compile ":searchable:0.6.5"
}

保存文件后,我刷新依赖项以安装插件,但我收到以下消息:

Loading Grails 2.2.3
| Configuring classpath
| Downloading: searchable-0.6.5.pom.sha1
:: problems summary ::
:::: ERRORS
    grailsCentral: bad organisation found in http://grails.org/plugins/grails-searchable/tags/RELEASE_0_6_5/searchable-0.6.5.pom: expected='' found='org.grails.plugins'
| Downloading: searchable-0.6.5.pom.sha1
:: problems summary ::
:::: ERRORS
    grailsCentral: bad organisation found in http://grails.org/plugins/grails-searchable/tags/RELEASE_0_6_5/searchable-0.6.5.pom: expected='' found='org.grails.plugins'

| Downloading: searchable-0.6.5.pom.sha1
:: problems summary ::
:::: ERRORS
    grailsCentral: bad organisation found in http://grails.org/plugins/grails-searchable/tags/RELEASE_0_6_5/searchable-0.6.5.pom: expected='' found='org.grails.plugins'
| Error Failed to resolve dependencies (Set log level to 'warn' in BuildConfig.groovy for more information):
- :searchable:0.6.5

Process was killed

我认为这可能是我的网络问题,但我检查了互联网连接是否正常。你遇到这样的问题了吗?谁能帮我解决安装可搜索的0.6.5问题?非常感谢。

1 个答案:

答案 0 :(得分:1)

您不能将版本0.6.5与2.2.3一起使用 - 请参阅插件页面上的说明:http://grails.org/plugin/searchable

使用版本0.6.4。唯一的区别是让插件在2.3中运行的简单修复。