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
小編覺(jué)得挺不錯(cuò)的,現(xiàn)在分享給大家,幫大家做個(gè)參考.                        
                                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項(xiàng)目中區(qū)分dev prod環(huán)境配置使用了@符號(hào)
spring:profiles:active: @profileActive@報(bào)錯(cuò):
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
 在啟動(dòng)即可
總結(jié)
以上是生活随笔為你收集整理的Caused by: org.yaml.snakeyaml.scanner.ScannerException: while scanning for the next token found char的全部?jī)?nèi)容,希望文章能夠幫你解決所遇到的問(wèn)題。
 
                            
                        - 上一篇: 记住这36条创业军规
- 下一篇: C++学习(七十二)英寸 厘米 像素 d
