spring boot 环境变量问题

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 4, column 13:
        active: @spring.profiles.active@

 添加 以下依赖即可


        
        
            org.yaml
            snakeyaml
            ${snakeyaml.version}
        

 

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