【发布时间】:2018-10-04 07:26:02
【问题描述】:
我正在尝试通过manifest.yml 文件将我的 Spring Boot 应用程序推送到 Pivotal Cloud Foundry (PCF) 上。
推送应用时出现以下错误:
{
Pushing from manifest to org mastercard_connect / space developer-sandbox as e069875...
Using manifest file C:\Sayli\Workspace\PCF\healthwatch-api\healthwatch-api\manifest.yml
yaml: unmarshal errors:
line 6: cannot unmarshal !!str `healthw...` into []string
FAILED }
这是manifest.yml 文件:
{applications:
- name: health-watch-api
memory: 2GB
instances: 1
paths: healthwatch-api-jar\target\healthwatch-api-jar-0.0.1-SNAPSHOT.jar
services: healthwatch-api-database
}
【问题讨论】:
-
您的清单文件无效。清单文件示例请参见 -docs.cloudfoundry.org/devguide/deploy-apps/manifest.html。