[英]Unable to deploy to cloudhub mule4 application with Gradle
I am trying to build my mule application and deploy it to cloudhub with Gradle (The Gradle version I'm using is: Gradle 4.10.2).我正在尝试使用 Gradle 构建我的 mule 应用程序并将其部署到 cloudhub(我使用的 Gradle 版本是:Gradle 4.10.2)。 For this I have added the build.gradle file in my project as shown below:
为此,我在我的项目中添加了 build.gradle 文件,如下所示:
When I give the Gradle build command it is successful as shown below:当我发出 Gradle 构建命令时,它是成功的,如下所示:
But when I execute Gradle deploy ( gradle deploy --info
) command, it fails with following error:但是当我执行 Gradle deploy (
gradle deploy --info
)命令时,它失败并出现以下错误:
Any help to resolve the above issue would be appreciated.任何解决上述问题的帮助将不胜感激。
That Gradle has been abandoned for some years and seems to be trying to use a CloudHub REST API endpoint that is no longer valid. Gradle 已被废弃多年,似乎正在尝试使用不再有效的 CloudHub REST API 端点。 If you want to use Gradle you will need a newer Gradle plugin that uses the current CloudHub API.
如果您想使用 Gradle,您将需要使用当前 CloudHub API 的更新的 Gradle 插件。 Note that MulesSoft only supports Maven.
请注意,MulesSoft 仅支持 Maven。
You can try running with --stacktrace
as the error message suggests to find out more details about the error.您可以尝试使用
--stacktrace
运行错误消息,以了解有关错误的更多详细信息。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.