grails - 指定的依赖定义编译无效

标签 grails spring-mvc cloud-foundry

“指定的依赖定义编译 cloud-support 1.0.9 无效。”是我尝试将 STS 与托管服务集成时遇到的错误。就像这个人一样,原来是装错了1.0.7的版本,现在装的是1.0.9而不是1.0.8;我在此处提到的两个文件中对其进行了更改:

Integrate grails cloud-foundry with my grails app

我还以正确的顺序安装了它们,首先是支持,然后是代工厂。但仍然看到同样的错误。即使只是简单地输入“grails clean”也会产生错误。插件管理器正确了解版本

代工 1.2.1/支持 1.0.9

我也知道这个链接:http://www.icodeya.com/2012/05/deploying-grails-apps-on-cloudfoundry.html它没有答案。

最佳答案

成功安装插件的步骤,create-app appname -> grails install-plugin cloud-foundry -> 将dependencies.groovy和plugin.xml改为[1.0.8,)。请试一试。

关于grails - 指定的依赖定义编译无效,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/13079471/

相关文章:

java - 如何在 spring mvc 中使用 HandlerInterceptorAdapter 手动处理 session 超时

cloud-foundry - 如何在没有 Pivotal Cloud Foundry 的情况下使用 Steeltoe

testing - grails代码覆盖无法访问方法

java - 使用基于 Grails JAX-RS 插件的 RESTful API 上传文件

grails - resources.groovy grails文件中的springSecurityService?

sql - Grails 中的非平凡数据查询

spring-mvc - Spring MVC - 返回静态页面

java - 问题: Java. util.date在 hibernate 中不允许重复的日期值

cloud-foundry - Cloud Foundry 开发工作流程

nginx - 为 cloudfoundry 应用程序配置 nginx 路由