具有 Spring 引导的 Cloud Foundry

Cloud Foundry with Spring Boot

我在尝试推送 Spring 引导应用程序时遇到以下错误:

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 中的 Cloud foundry 插件,而是从命令行进行推送。

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

或从市场安装工具:

https://marketplace.eclipse.org/content/cloud-foundry-integration-eclipse