Caused by: org.yaml.snakeyaml.parser.ParserException: while parsing MappingNode

spring cloud 项目,config报错

Caused by: org.yaml.snakeyaml.parser.ParserException: while parsing MappingNode
 in 'reader', line 1, column 1:
    server:
    ^
Duplicate key: spring
 in 'reader', line 80, column 45:
    90

原因:yml配置文件里面有相同的节点。请检查

把对应的节点删除即可。

你可能感兴趣的:(java,spring,boot)