报错: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 21, column 13: active: @spring.profiles.active@
昨天下午还可以正常启动,没改代码,今天早上报这个错
解决方法:
1.常规的代码规范检查
2.Maven缓存问题,重新导入