本文主要是介绍解决:SpringBoot 错误:Caused by: org.yaml.snakeyaml.scanner.ScannerException,希望对大家解决编程问题提供一定的参考价值,需要的开发者们随着小编来一起学习吧!
前些天发现了一个巨牛的人工智能学习网站,通俗易懂,风趣幽默,忍不住分享一下给大家。点击跳转到教程。
错误:
Caused by: org.yaml.snakeyaml.scanner.ScannerException: while scanning for the next tokenfound character '@' that cannot start any token. (Do not use @ for indentation)in 'reader', line 3, column 13:active: @package.environment@
解决方法:添加以下依赖
<dependency><groupId>org.yaml</groupId><artifactId>snakeyaml</artifactId><version>${snakeyaml.version}</version></dependency>
转自:https://blog.csdn.net/m_joes_17/article/details/80899274
这篇关于解决:SpringBoot 错误:Caused by: org.yaml.snakeyaml.scanner.ScannerException的文章就介绍到这儿,希望我们推荐的文章对编程师们有所帮助!