欢迎来到飞鸟慕鱼博客,开始您的技术之旅!
当前位置: 首页知识笔记正文

springboot启动报错,spring boot无法启动application

墨初 知识笔记 102阅读

Error content errororg.springframework.boot.springapplication-application failed to run org.yaml.snakeyyaml.error.yamlexception:java.nio.charset.malfo. Rmedinputexception : Input length 1解决方法Reason yml's 中文comment conflicts with the set encoding format. First, save all the contents of the application. yml, delete the upper left corner of the file and set-editor-file encoding. Change the coding of the project from gbk to utf-8, and then rebuild application an. yml to paste the content. If you change the format directly, the comments will become garbled. It is useful to transfer from [

标签:
声明:无特别说明,转载请标明本文来源!