Grails Mongodb插件安装问题
在尝试为 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 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
您需要将相关存储库添加到 Grails 搜索的列表中以解决依赖关系。看起来
spring-datastore-web
位于此 SpringSource 存储库中,因此将下面的mavenRepo
行添加到/ 的
文件:repositories
部分grails-app/conf/BuildConfig.groovy希望现在可以解决依赖关系,您可以构建应用程序。
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 themavenRepo
line below to therepositories
section of your/grails-app/conf/BuildConfig.groovy
file:Hopefully the dependency will now be resolved and you can build the app.
您可以在 https://github.com/grails/inconsequential 和 http://shrub.appspot .com/maven.springframework.org/snapshot/org/springframework/spring-datastore-web/1.0.0.BUILD-SNAPSHOT/ 将其重命名为“spring-datastore-web-1.0.0.M3.jar “比放置在 lib 中......
You can find the jar at https://github.com/grails/inconsequential and http://shrub.appspot.com/maven.springframework.org/snapshot/org/springframework/spring-datastore-web/1.0.0.BUILD-SNAPSHOT/ rename it to "spring-datastore-web-1.0.0.M3.jar" than placed in lib .....