Cloud 带弹簧靴的云铸造

Cloud 带弹簧靴的云铸造,cloud,spring-boot,Cloud,Spring Boot,当我尝试推送Spring Boot应用程序时,出现以下错误: C:\WORKSPACES>cf push spr_boot_first Creating app spr_boot_first in org k.agwl.org / space development_space_one as k.agwl@gmail.com... OK Using route spr-boot-first.cfapps.io Binding spr-boot-first.cfapps.io to

当我尝试推送Spring Boot应用程序时,出现以下错误:

C:\WORKSPACES>cf push spr_boot_first
Creating app spr_boot_first in org k.agwl.org / space development_space_one  
as
 k.agwl@gmail.com...
OK

Using route spr-boot-first.cfapps.io
Binding spr-boot-first.cfapps.io to spr_boot_first...
OK

Uploading spr_boot_first...
FAILED
Error uploading application.
read C:\WORKSPACES\.metadata\.lock: The process cannot access the file because another process has locked a portion of the file.

看起来您没有使用eclipse中的CloudFoundry插件,而是从命令行进行推送

关闭eclipse并再次尝试从命令行推送

或从市场上安装工具:


你好,罗伯特,谢谢你的评论,,,你能告诉我如何为Eclipse添加cloud foundry插件吗?另外,请告诉我如何按照你所说的那样从工具中完成…你好,罗伯特,我正在尝试在关闭STS后通过命令行完成,正如你所建议的那样,,,但现在我遇到了一个新错误:C:\workspace>cf push spr_bt_first在org kar.agwl.org/space development_space_one中创建应用程序spr_bt_first作为k。agwl@gmail.com... 确定首先创建路由spr bt.cfapps.io。。。OK将spr-bt-first.cfapps.io绑定到spr_bt_first。。。好的,先上传spr\u bt\u。。。从以下位置上载应用程序文件:C:\Workspace上载16.6M,406个文件已完成上载上载应用程序上载失败错误。服务器错误,状态代码:502,错误代码:0,消息:发布另一个问题,查看internet。有许多与此502错误相关的内容丢失,包括上载时间超过5分钟。如果我帮你标出我的答案,或者至少投票给你:)。