maven项目active: @profiles.active@报错,idea工具

具体

08:45:20.671 [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 14, column 13:
        active: @profiles.active@

解决方案

点击项目,右键

maven >> reload project

猜你喜欢

转载自blog.csdn.net/weixin_40918145/article/details/134174145