0

OpenRDF Sesame のコア ライブラリを Grails アプリケーションにインポートしようとしています。

これは、私の BuildConfig.groovy ファイルの抜粋です。

repositories {
    inherits true // Whether to inherit repository definitions from plugins

    grailsPlugins()
    grailsHome()
    mavenLocal()
    grailsCentral()
    mavenCentral()

}

dependencies {
    compile 'org.openrdf.sesame:sesame-core:2.7.7'
}

次のエラー メッセージが表示されます。

Error Could not find artifact org.openrdf.sesame:sesame-core:jar:2.7.7 in grailsCentral (http://repo.grails.org/grails/plugins) (scope: runtime) (Use --stacktrace to see the full trace)

この問題を解決する方法がわかりません。アーティファクトは Maven Central で入手できます: http://search.maven.org/#artifactdetails%7Corg.openrdf.sesame%7Csesame-core%7C2.7.7%7Cpom

4

1 に答える 1

2

そこにはjarはなく、POMファイルだけで、依存関係はありません: http://repo1.maven.org/maven2/org/openrdf/sesame/sesame-core/2.7.7/

必要な個々の jar 依存関係を指定する必要があるようです - 例http://repo1.maven.org/maven2/org/openrdf/sesame/sesame-http-client/2.7.7/

于 2013-10-10T14:42:44.290 に答える