1、org.yaml.snakeyaml.scanner.ScannerException: while scanning for the next token
found character ‘@’ that cannot start any token的解決方案
一般有以下情況:
1、在yml文件中配置了如下信息
spring:
profiles:
include: core
active: @spring.profiles.active@
以获取父工程中属性,此时启动报错有可能是属性名未写对,还有一种可能是maven缓存了,没有生效,此时可以刷新maven(解决).