当我在文件末尾的文件配置中添加properties.yml
https://pastebin.com/yRAGSTzf时
spring:
http:
multipart:
max-file-size: 100MB
max-request-size: 200MB
在编译期间,他把我扔掉了
...
Caused by: org.yaml.snakeyaml.parser.ParserException: while parsing MappingNode
in 'reader', line 2, column 1:
spring.datasource:
^
Duplicate key: spring
in 'reader', line 74, column 1:
^
答案 0 :(得分:0)
看起来您要添加两次相同的密钥(' spring')。你试过重复最后5行吗?