从git远程仓库导入maven项目时遇到如下错误:
08:33:53.355 [main] ERROR org.springframework.boot.SpringApplication - Application run failed
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 5, column 13:
active: @profiles.active@
百度看了几篇博客,尝试检查Yml中配置项格式和POM中加入开发环境的方式,均未解决。最终,只需要刷新maven就可以解决啦!亏我找了一小时