Caused by: org.yaml.snakeyaml.scanner.ScannerException: while scanning for the next token found char
生活随笔
收集整理的這篇文章主要介紹了
Caused by: org.yaml.snakeyaml.scanner.ScannerException: while scanning for the next token found char
小編覺得挺不錯的,現在分享給大家,幫大家做個參考.
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)
problem
在spring boot項目中區分dev prod環境配置使用了@符號
spring:profiles:active: @profileActive@報錯:
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)solution
mvn clean
在啟動即可
總結
以上是生活随笔為你收集整理的Caused by: org.yaml.snakeyaml.scanner.ScannerException: while scanning for the next token found char的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: 记住这36条创业军规
- 下一篇: delphi char数组、string