Grails Mongodb插件安装问题

发布于 2024-10-09 13:54:45 字数 429 浏览 0 评论 0原文

在尝试为 grails 应用程序安装 Mongodb grails 插件时,我收到以下错误

    ::::::::::::::::::::::::::::::::::::::::::::::

    ::          UNRESOLVED DEPENDENCIES         ::

    ::::::::::::::::::::::::::::::::::::::::::::::

    :: org.springframework#spring-datastore-web;1.0.0.M3: not found

    ::::::::::::::::::::::::::::::::::::::::::::::

任何线索我做错了什么...... Grails 版本是 1.3.6 Springsource工具2.3.3.CI-R5549-B45

While trying to install Mongodb grails plug in for grails application, i am getting following error

    ::::::::::::::::::::::::::::::::::::::::::::::

    ::          UNRESOLVED DEPENDENCIES         ::

    ::::::::::::::::::::::::::::::::::::::::::::::

    :: org.springframework#spring-datastore-web;1.0.0.M3: not found

    ::::::::::::::::::::::::::::::::::::::::::::::

Any clues what I am doing wrong....
Grails version is 1.3.6
Springsource Tool 2.3.3.CI-R5549-B45

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

維他命╮ 2024-10-16 13:54:45

您需要将相关存储库添加到 Grails 搜索的列表中以解决依赖关系。看起来 spring-datastore-web 位于此 SpringSource 存储库中,因此将下面的 mavenRepo 行添加到 / 的 repositories 部分grails-app/conf/BuildConfig.groovy 文件:

grails.project.dependency.resolution = {
  // ...
  repositories {
    // ...
    mavenRepo "http://s3browse.springsource.com/browse/maven.springframework.org/milestone/"
  }
 // ...
}

希望现在可以解决依赖关系,您可以构建应用程序。

You'll need to add the relevant repository to the list that Grails searches to resolve dependencies. Looks like spring-datastore-web is in this SpringSource repos, so add the mavenRepo line below to the repositories section of your /grails-app/conf/BuildConfig.groovy file:

grails.project.dependency.resolution = {
  // ...
  repositories {
    // ...
    mavenRepo "http://s3browse.springsource.com/browse/maven.springframework.org/milestone/"
  }
 // ...
}

Hopefully the dependency will now be resolved and you can build the app.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文