解决:SpringBoot 错误:Caused by: org.yaml.snakeyaml.scanner.ScannerException

错误:

Caused by: org.yaml.snakeyaml.scanner.ScannerException: while scanning for the next token
        found character '@' that cannot start any token. (Do not use @ for indentation)
        in 'reader', line 3, column 13:active: @package.environment@

解决方法:添加以下依赖


 
    org.yaml

    snakeyaml

    ${snakeyaml.version}

 

转自:https://blog.csdn.net/m_joes_17/article/details/80899274

你可能感兴趣的:(坑,傻踩傻乐,...)