小编say*_*thi的帖子

YAML 解组错误无法解组 !!str ` ` 到 str

我正在尝试通过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 }
Run Code Online (Sandbox Code Playgroud)

这是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 
  }
Run Code Online (Sandbox Code Playgroud)

manifest cloud-foundry

5
推荐指数
1
解决办法
7万
查看次数

标签 统计

cloud-foundry ×1

manifest ×1