当团队设置websphere配置文件激活时,我正在尝试完成云配置文件也已激活.
yaml文件
--- spring: application: name: kicapp output: ansi: enabled: ALWAYS profiles: active: local #server: #context-path: / #port: 8080 #logging: #level: #org.springframework.security: DEBUG --- spring: profiles: local --- spring: profiles: unittest --- spring: profiles: cloud test: loaded --- spring: profiles: websphere include: cloud
当我设置–spring.profiles.active = websphere时,我收到以下错误
Caused by: mapping values are not allowed here in ‘reader’,line 28,
column 12:
include: cloud