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@

SpringBoot-错误:Caused by: org.yaml.snakeyaml.scanner.ScannerException_第1张图片

解决方法:添加以下依赖

 
  org.yaml 
  snakeyaml 
  ${snakeyaml.version} 
 


你可能感兴趣的:(SpringBoot)