springboot启动报错Caused by: org.yaml.snakeyaml.error.YAMLException: java.nio.charset.MalformedInputExce

E:\JDK8\bin\java.exe -agentlib:jdwp=transport=dt_socket,address=127.0.0.1:53700,suspend=y,server=n -Drebel.base=C:\Users\lijunxuan.jrebel -Drebel.env.ide.plugin.version=2019.1.3 -Drebel.env.ide.version=2018.2.2 -Drebel.env.ide.product=IU -Drebel.env.ide=intellij -Drebel.notification.url=http://localhost:17434 -agentpath:C:\Users\lijunxuan.IntelliJIdea2018.2\config\plugins\jr-ide-idea\lib\jrebel6\lib\jrebel64.dll -XX:TieredStopAtLevel=1 -noverify -Dspring.output.ansi.enabled=always -Dcom.sun.management.jmxremote -Dcom.sun.management.jmxremote.port=53699 -Dcom.sun.management.jmxremote.authenticate=false -Dcom.sun.management.jmxremote.ssl=false -Djava.rmi.server.hostname=localhost -Dspring.liveBeansView.mbeanDomain -Dspring.application.admin.enabled=true -javaagent:C:\Users\lijunxuan.IntelliJIdea2018.2\system\captureAgent\debugger-agent.jar=file:/C:/Users/lijunxuan/AppData/Local/Temp/capture1.props -Dfile.encoding=GBK -classpath “E:\JDK8\jre\lib\charsets.jar;E:\JDK8\jre\lib\deploy.jar;E:\JDK8\jre\lib\ext\access-bridge-64.jar;E:\JDK8\jre\lib\ext\cldrdata.jar;E:\JDK8\jre\lib\ext\dnsns.jar;E:\JDK8\jre\lib\ext\jaccess.jar;E:\JDK8\jre\lib\ext\jfxrt.jar;E:\JDK8\jre\lib\ext\localedata.jar;E:\JDK8\jre\lib\ext\nashorn.jar;E:\JDK8\jre\lib\ext\sunec.jar;E:\JDK8\jre\lib\ext\sunjce_provider.jar;E:\JDK8\jre\lib\ext\sunmscapi.jar;E:\JDK8\jre\lib\ext\sunpkcs11.jar;E:\JDK8\jre\lib\ext\zipfs.jar;E:\JDK8\jre\lib\javaws.jar;E:\JDK8\jre\lib\jce.jar;E:\JDK8\jre\lib\jfr.jar;E:\JDK8\jre\lib\jfxswt.jar;E:\JDK8\jre\lib\jsse.jar;E:\JDK8\jre\lib\management-agent.jar;E:\JDK8\jre\lib\plugin.jar;E:\JDK8\jre\lib\resources.jar;E:\JDK8\jre\lib\rt.jar;H:\workspace\IdeaProject\SpringCloud\day02\springCloud_parent\eureka_server\target\classes;E:\maven\apache-maven-3.3.9\repository\org\springframework\cloud\spring-cloud-starter-netflix-eureka-server\2.1.1.RELEASE\spring-cloud-starter-netflix-eureka-server-2.1.1.RELEASE.jar;E:\maven\apache-maven-3.3.9\repository\org\springframework\cloud\spring-cloud-starter\2.1.1.RELEASE\spring-cloud-starter-2.1.1.RELEASE.jar;E:\maven\apache-maven-3.3.9\repository\org\springframework\cloud\spring-cloud-context\2.1.1.RELEASE\spring-cloud-context-2.1.1.RELEASE.jar;E:\maven\apache-maven-3.3.9\repository\org\springframework\security\spring-security-crypto\5.1.5.RELEASE\spring-security-crypto-5.1.5.RELEASE.jar;E:\maven\apache-maven-3.3.9\repository\org\springframework\cloud\spring-cloud-commons\2.1.1.RELEASE\spring-cloud-commons-2.1.1.RELEASE.jar;E:\maven\apache-maven-3.3.9\repository\org\springframework\security\spring-security-rsa\1.0.7.RELEASE\spring-security-rsa-1.0.7.RELEASE.jar;E:\maven\apache-maven-3.3.9\repository\org\bouncycastle\bcpkix-jdk15on\1.60\bcpkix-jdk15on-1.60.jar;E:\maven\apache-maven-3.3.9\repository\org\bouncycastle\bcprov-jdk15on\1.60\bcprov-jdk15on-1.60.jar;E:\maven\apache-maven-3.3.9\repository\org\springframework\cloud\spring-cloud-netflix-eureka-server\2.1.1.RELEASE\spring-cloud-netflix-eureka-server-2.1.1.RELEASE.jar;E:\maven\apache-maven-3.3.9\repository\org\springframework\boot\spring-boot-starter-web\2.1.6.RELEASE\spring-boot-starter-web-2.1.6.RELEASE.jar;E:\maven\apache-maven-3.3.9\repository\org\springframework\boot\spring-boot-starter-json\2.1.6.RELEASE\spring-boot-starter-json-2.1.6.RELEASE.jar;E:\maven\apache-maven-3.3.9\repository\com\fasterxml\jackson\datatype\jackson-datatype-jdk8\2.9.9\jackson-datatype-jdk8-2.9.9.jar;E:\maven\apache-maven-3.3.9\repository\com\fasterxml\jackson\datatype\jackson-datatype-jsr310\2.9.9\jackson-datatype-jsr310-2.9.9.jar;E:\maven\apache-maven-3.3.9\repository\com\fasterxml\jackson\module\jackson-module-parameter-names\2.9.9\jackson-module-parameter-names-2.9.9.jar;E:\maven\apache-maven-3.3.9\repository\org\springframework\boot\spring-boot-starter-tomcat\2.1.6.RELEASE\spring-boot-starter-tomcat-2.1.6.RELEASE.jar;E:\maven\apache-maven-3.3.9\repository\org\apache\tomcat\embed\tomcat-embed-core\9.0.21\tomcat-embed-core-9.0.21.jar;E:\maven\apache-maven-3.3.9\repository\org\apache\tomcat\embed\tomcat-embed-el\9.0.21\tomcat-embed-el-9.0.21.jar;E:\maven\apache-maven-3.3.9\repository\org\apache\tomcat\embed\tomcat-embed-websocket\9.0.21\tomcat-embed-websocket-9.0.21.jar;E:\maven\apache-maven-3.3.9\repository\org\hibernate\validator\hibernate-validator\6.0.17.Final\hibernate-validator-6.0.17.Final.jar;E:\maven\apache-maven-3.3.9\repository\javax\validation\validation-api\2.0.1.Final\validation-api-2.0.1.Final.jar;E:\maven\apache-maven-3.3.9\repository\org\jboss\logging\jboss-logging\3.3.2.Final\jboss-logging-3.3.2.Final.jar;E:\maven\apache-maven-3.3.9\repository\com\fasterxml\classmate\1.4.0\classmate-1.4.0.jar;E:\maven\apache-maven-3.3.9\repository\org\springframework\spring-web\5.1.8.RELEASE\spring-web-5.1.8.RELEASE.jar;E:\maven\apache-maven-3.3.9\repository\org\springframework\spring-beans\5.1.8.RELEASE\spring-beans-5.1.8.RELEASE.jar;E:\maven\apache-maven-3.3.9\repository\org\springframework\spring-webmvc\5.1.8.RELEASE\spring-webmvc-5.1.8.RELEASE.jar;E:\maven\apache-maven-3.3.9\repository\org\springframework\spring-aop\5.1.8.RELEASE\spring-aop-5.1.8.RELEASE.jar;E:\maven\apache-maven-3.3.9\repository\org\springframework\spring-expression\5.1.8.RELEASE\spring-expression-5.1.8.RELEASE.jar;E:\maven\apache-maven-3.3.9\repository\org\springframework\boot\spring-boot-starter-actuator\2.1.6.RELEASE\spring-boot-starter-actuator-2.1.6.RELEASE.jar;E:\maven\apache-maven-3.3.9\repository\org\springframework\boot\spring-boot-actuator-autoconfigure\2.1.6.RELEASE\spring-boot-actuator-autoconfigure-2.1.6.RELEASE.jar;E:\maven\apache-maven-3.3.9\repository\org\springframework\boot\spring-boot-actuator\2.1.6.RELEASE\spring-boot-actuator-2.1.6.RELEASE.jar;E:\maven\apache-maven-3.3.9\repository\io\micrometer\micrometer-core\1.1.5\micrometer-core-1.1.5.jar;E:\maven\apache-maven-3.3.9\repository\org\hdrhistogram\HdrHistogram\2.1.9\HdrHistogram-2.1.9.jar;E:\maven\apache-maven-3.3.9\repository\org\latencyutils\LatencyUtils\2.0.3\LatencyUtils-2.0.3.jar;E:\maven\apache-maven-3.3.9\repository\org\springframework\boot\spring-boot-starter-freemarker\2.1.6.RELEASE\spring-boot-starter-freemarker-2.1.6.RELEASE.jar;E:\maven\apache-maven-3.3.9\repository\org\freemarker\freemarker\2.3.28\freemarker-2.3.28.jar;E:\maven\apache-maven-3.3.9\repository\org\springframework\spring-context-support\5.1.8.RELEASE\spring-context-support-5.1.8.RELEASE.jar;E:\maven\apache-maven-3.3.9\repository\org\springframework\cloud\spring-cloud-netflix-hystrix\2.1.1.RELEASE\spring-cloud-netflix-hystrix-2.1.1.RELEASE.jar;E:\maven\apache-maven-3.3.9\repository\org\springframework\boot\spring-boot-starter-aop\2.1.6.RELEASE\spring-boot-starter-aop-2.1.6.RELEASE.jar;E:\maven\apache-maven-3.3.9\repository\org\aspectj\aspectjweaver\1.9.4\aspectjweaver-1.9.4.jar;E:\maven\apache-maven-3.3.9\repository\org\springframework\cloud\spring-cloud-netflix-eureka-client\2.1.1.RELEASE\spring-cloud-netflix-eureka-client-2.1.1.RELEASE.jar;E:\maven\apache-maven-3.3.9\repository\com\netflix\eureka\eureka-client\1.9.8\eureka-client-1.9.8.jar;E:\maven\apache-maven-3.3.9\repository\org\codehaus\jettison\jettison\1.3.7\jettison-1.3.7.jar;E:\maven\apache-maven-3.3.9\repository\stax\stax-api\1.0.1\stax-api-1.0.1.jar;E:\maven\apache-maven-3.3.9\repository\com\netflix\netflix-commons\netflix-eventbus\0.3.0\netflix-eventbus-0.3.0.jar;E:\maven\apache-maven-3.3.9\repository\com\netflix\netflix-commons\netflix-infix\0.3.0\netflix-infix-0.3.0.jar;E:\maven\apache-maven-3.3.9\repository\commons-jxpath\commons-jxpath\1.3\commons-jxpath-1.3.jar;E:\maven\apache-maven-3.3.9\repository\joda-time\joda-time\2.10.2\joda-time-2.10.2.jar;E:\maven\apache-maven-3.3.9\repository\org\antlr\antlr-runtime\3.4\antlr-runtime-3.4.jar;E:\maven\apache-maven-3.3.9\repository\org\antlr\stringtemplate\3.2.1\stringtemplate-3.2.1.jar;E:\maven\apache-maven-3.3.9\repository\antlr\antlr\2.7.7\antlr-2.7.7.jar;E:\maven\apache-maven-3.3.9\repository\com\google\code\gson\gson\2.8.5\gson-2.8.5.jar;E:\maven\apache-maven-3.3.9\repository\org\apache\commons\commons-math\2.2\commons-math-2.2.jar;E:\maven\apache-maven-3.3.9\repository\javax\ws\rs\jsr311-api\1.1.1\jsr311-api-1.1.1.jar;E:\maven\apache-maven-3.3.9\repository\com\netflix\servo\servo-core\0.12.21\servo-core-0.12.21.jar;E:\maven\apache-maven-3.3.9\repository\com\sun\jersey\jersey-core\1.19.1\jersey-core-1.19.1.jar;E:\maven\apache-maven-3.3.9\repository\com\sun\jersey\jersey-client\1.19.1\jersey-client-1.19.1.jar;E:\maven\apache-maven-3.3.9\repository\com\sun\jersey\contribs\jersey-apache-client4\1.19.1\jersey-apache-client4-1.19.1.jar;E:\maven\apache-maven-3.3.9\repository\org\apache\httpcomponents\httpclient\4.5.9\httpclient-4.5.9.jar;E:\maven\apache-maven-3.3.9\repository\org\apache\httpcomponents\httpcore\4.4.11\httpcore-4.4.11.jar;E:\maven\apache-maven-3.3.9\repository\commons-codec\commons-codec\1.11\commons-codec-1.11.jar;E:\maven\apache-maven-3.3.9\repository\com\google\inject\guice\4.1.0\guice-4.1.0.jar;E:\maven\apache-maven-3.3.9\repository\aopalliance\aopalliance\1.0\aopalliance-1.0.jar;E:\maven\apache-maven-3.3.9\repository\com\github\vlsi\compactmap\compactmap\1.2.1\compactmap-1.2.1.jar;E:\maven\apache-maven-3.3.9\repository\com\github\andrewoma\dexx\dexx-collections\0.2\dexx-collections-0.2.jar;E:\maven\apache-maven-3.3.9\repository\com\fasterxml\jackson\core\jackson-annotations\2.9.0\jackson-annotations-2.9.0.jar;E:\maven\apache-maven-3.3.9\repository\com\fasterxml\jackson\core\jackson-core\2.9.9\jackson-core-2.9.9.jar;E:\maven\apache-maven-3.3.9\repository\com\fasterxml\jackson\core\jackson-databind\2.9.9\jackson-databind-2.9.9.jar;E:\maven\apache-maven-3.3.9\repository\com\sun\jersey\jersey-servlet\1.19.1\jersey-servlet-1.19.1.jar;E:\maven\apache-maven-3.3.9\repository\com\sun\jersey\jersey-server\1.19.1\jersey-server-1.19.1.jar;E:\maven\apache-maven-3.3.9\repository\com\netflix\eureka\eureka-core\1.9.8\eureka-core-1.9.8.jar;E:\maven\apache-maven-3.3.9\repository\org\codehaus\woodstox\woodstox-core-asl\4.4.1\woodstox-core-asl-4.4.1.jar;E:\maven\apache-maven-3.3.9\repository\javax\xml\stream\stax-api\1.0-2\stax-api-1.0-2.jar;E:\maven\apache-maven-3.3.9\repository\com\netflix\archaius\archaius-core\0.7.6\archaius-core-0.7.6.jar;E:\maven\apache-maven-3.3.9\repository\com\google\code\findbugs\jsr305\3.0.1\jsr305-3.0.1.jar;E:\maven\apache-maven-3.3.9\repository\com\google\guava\guava\16.0\guava-16.0.jar;E:\maven\apache-maven-3.3.9\repository\javax\inject\javax.inject\1\javax.inject-1.jar;E:\maven\apache-maven-3.3.9\repository\com\fasterxml\jackson\dataformat\jackson-dataformat-xml\2.9.9\jackson-dataformat-xml-2.9.9.jar;E:\maven\apache-maven-3.3.9\repository\com\fasterxml\jackson\module\jackson-module-jaxb-annotations\2.9.9\jackson-module-jaxb-annotations-2.9.9.jar;E:\maven\apache-maven-3.3.9\repository\org\codehaus\woodstox\stax2-api\3.1.4\stax2-api-3.1.4.jar;E:\maven\apache-maven-3.3.9\repository\com\fasterxml\woodstox\woodstox-core\5.0.3\woodstox-core-5.0.3.jar;E:\maven\apache-maven-3.3.9\repository\com\thoughtworks\xstream\xstream\1.4.10\xstream-1.4.10.jar;E:\maven\apache-maven-3.3.9\repository\xmlpull\xmlpull\1.1.3.1\xmlpull-1.1.3.1.jar;E:\maven\apache-maven-3.3.9\repository\xpp3\xpp3_min\1.1.4c\xpp3_min-1.1.4c.jar;E:\maven\apache-maven-3.3.9\repository\org\springframework\cloud\spring-cloud-starter-netflix-archaius\2.1.1.RELEASE\spring-cloud-starter-netflix-archaius-2.1.1.RELEASE.jar;E:\maven\apache-maven-3.3.9\repository\org\springframework\cloud\spring-cloud-netflix-ribbon\2.1.1.RELEASE\spring-cloud-netflix-ribbon-2.1.1.RELEASE.jar;E:\maven\apache-maven-3.3.9\repository\org\springframework\cloud\spring-cloud-netflix-archaius\2.1.1.RELEASE\spring-cloud-netflix-archaius-2.1.1.RELEASE.jar;E:\maven\apache-maven-3.3.9\repository\commons-configuration\commons-configuration\1.8\commons-configuration-1.8.jar;E:\maven\apache-maven-3.3.9\repository\commons-lang\commons-lang\2.6\commons-lang-2.6.jar;E:\maven\apache-maven-3.3.9\repository\org\springframework\cloud\spring-cloud-starter-netflix-ribbon\2.1.1.RELEASE\spring-cloud-starter-netflix-ribbon-2.1.1.RELEASE.jar;E:\maven\apache-maven-3.3.9\repository\com\netflix\ribbon\ribbon\2.3.0\ribbon-2.3.0.jar;E:\maven\apache-maven-3.3.9\repository\com\netflix\ribbon\ribbon-transport\2.3.0\ribbon-transport-2.3.0.jar;E:\maven\apache-maven-3.3.9\repository\io\reactivex\rxnetty-contexts\0.4.9\rxnetty-contexts-0.4.9.jar;E:\maven\apache-maven-3.3.9\repository\io\reactivex\rxnetty-servo\0.4.9\rxnetty-servo-0.4.9.jar;E:\maven\apache-maven-3.3.9\repository\com\netflix\hystrix\hystrix-core\1.5.18\hystrix-core-1.5.18.jar;E:\maven\apache-maven-3.3.9\repository\io\reactivex\rxnetty\0.4.9\rxnetty-0.4.9.jar;E:\maven\apache-maven-3.3.9\repository\com\netflix\ribbon\ribbon-core\2.3.0\ribbon-core-2.3.0.jar;E:\maven\apache-maven-3.3.9\repository\com\netflix\ribbon\ribbon-httpclient\2.3.0\ribbon-httpclient-2.3.0.jar;E:\maven\apache-maven-3.3.9\repository\commons-collections\commons-collections\3.2.2\commons-collections-3.2.2.jar;E:\maven\apache-maven-3.3.9\repository\com\netflix\netflix-commons\netflix-commons-util\0.3.0\netflix-commons-util-0.3.0.jar;E:\maven\apache-maven-3.3.9\repository\com\netflix\ribbon\ribbon-loadbalancer\2.3.0\ribbon-loadbalancer-2.3.0.jar;E:\maven\apache-maven-3.3.9\repository\com\netflix\netflix-commons\netflix-statistics\0.1.1\netflix-statistics-0.1.1.jar;E:\maven\apache-maven-3.3.9\repository\io\reactivex\rxjava\1.3.8\rxjava-1.3.8.jar;E:\maven\apache-maven-3.3.9\repository\com\netflix\ribbon\ribbon-eureka\2.3.0\ribbon-eureka-2.3.0.jar;E:\maven\apache-maven-3.3.9\repository\org\slf4j\slf4j-api\1.7.26\slf4j-api-1.7.26.jar;E:\maven\apache-maven-3.3.9\repository\org\springframework\boot\spring-boot-starter\2.1.6.RELEASE\spring-boot-starter-2.1.6.RELEASE.jar;E:\maven\apache-maven-3.3.9\repository\org\springframework\boot\spring-boot\2.1.6.RELEASE\spring-boot-2.1.6.RELEASE.jar;E:\maven\apache-maven-3.3.9\repository\org\springframework\spring-context\5.1.8.RELEASE\spring-context-5.1.8.RELEASE.jar;E:\maven\apache-maven-3.3.9\repository\org\springframework\boot\spring-boot-autoconfigure\2.1.6.RELEASE\spring-boot-autoconfigure-2.1.6.RELEASE.jar;E:\maven\apache-maven-3.3.9\repository\org\springframework\boot\spring-boot-starter-logging\2.1.6.RELEASE\spring-boot-starter-logging-2.1.6.RELEASE.jar;E:\maven\apache-maven-3.3.9\repository\ch\qos\logback\logback-classic\1.2.3\logback-classic-1.2.3.jar;E:\maven\apache-maven-3.3.9\repository\ch\qos\logback\logback-core\1.2.3\logback-core-1.2.3.jar;E:\maven\apache-maven-3.3.9\repository\org\apache\logging\log4j\log4j-to-slf4j\2.11.2\log4j-to-slf4j-2.11.2.jar;E:\maven\apache-maven-3.3.9\repository\org\apache\logging\log4j\log4j-api\2.11.2\log4j-api-2.11.2.jar;E:\maven\apache-maven-3.3.9\repository\org\slf4j\jul-to-slf4j\1.7.26\jul-to-slf4j-1.7.26.jar;E:\maven\apache-maven-3.3.9\repository\javax\annotation\javax.annotation-api\1.3.2\javax.annotation-api-1.3.2.jar;E:\maven\apache-maven-3.3.9\repository\org\yaml\snakeyaml\1.23\snakeyaml-1.23.jar;E:\maven\apache-maven-3.3.9\repository\org\springframework\spring-core\5.1.8.RELEASE\spring-core-5.1.8.RELEASE.jar;E:\maven\apache-maven-3.3.9\repository\org\springframework\spring-jcl\5.1.8.RELEASE\spring-jcl-5.1.8.RELEASE.jar;E:\IntelliJ IDEA\IntelliJ IDEA 2018.2.2\lib\idea_rt.jar” com.william.EurekaServerApplication
Connected to the target VM, address: ‘127.0.0.1:53700’, transport: ‘socket’
2019-07-03 20:57:56 JRebel: Starting logging to file: C:\Users\lijunxuan.jrebel\jrebel.log
2019-07-03 20:57:56 JRebel:
2019-07-03 20:57:56 JRebel: #############################################################
2019-07-03 20:57:56 JRebel:
2019-07-03 20:57:56 JRebel: JRebel Agent 2019.1.3 (201906071128)
2019-07-03 20:57:56 JRebel: © Copyright 2007-2019 Rogue Wave Software, Inc.
2019-07-03 20:57:56 JRebel:
2019-07-03 20:57:56 JRebel: Over the last 1 days JRebel prevented
2019-07-03 20:57:56 JRebel: at least 22 redeploys/restarts saving you about 0.9 hours.
2019-07-03 20:57:56 JRebel:
2019-07-03 20:57:56 JRebel: License acquired from License Server: http://jrebel.weichi.tech:9001
2019-07-03 20:57:56 JRebel:
2019-07-03 20:57:56 JRebel: Licensed to lijunxuan.
2019-07-03 20:57:56 JRebel:
2019-07-03 20:57:56 JRebel: You are using an offline license.
2019-07-03 20:57:56 JRebel:
2019-07-03 20:57:56 JRebel:
2019-07-03 20:57:56 JRebel: #############################################################
2019-07-03 20:57:56 JRebel:
2019-07-03 20:58:07.189 INFO 22368 — [ main] trationDelegate B e a n P o s t P r o c e s s o r C h e c k e r : B e a n ′ o r g . s p r i n g f r a m e w o r k . c l o u d . a u t o c o n f i g u r e . C o n f i g u r a t i o n P r o p e r t i e s R e b i n d e r A u t o C o n f i g u r a t i o n ′ o f t y p e [ o r g . s p r i n g f r a m e w o r k . c l o u d . a u t o c o n f i g u r e . C o n f i g u r a t i o n P r o p e r t i e s R e b i n d e r A u t o C o n f i g u r a t i o n BeanPostProcessorChecker : Bean 'org.springframework.cloud.autoconfigure.ConfigurationPropertiesRebinderAutoConfiguration' of type [org.springframework.cloud.autoconfigure.ConfigurationPropertiesRebinderAutoConfiguration BeanPostProcessorChecker:Beanorg.springframework.cloud.autoconfigure.ConfigurationPropertiesRebinderAutoConfigurationoftype[org.springframework.cloud.autoconfigure.ConfigurationPropertiesRebinderAutoConfiguration E n h a n c e r B y S p r i n g C G L I B EnhancerBySpringCGLIB EnhancerBySpringCGLIB$e02d0bf5] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2019-07-03 20:58:09.014 ERROR 22368 — [ main] o.s.boot.SpringApplication : Application run failed

java.lang.IllegalStateException: Failed to load property source from location ‘classpath:/application.yml’
at org.springframework.boot.context.config.ConfigFileApplicationListener L o a d e r . l o a d ( C o n f i g F i l e A p p l i c a t i o n L i s t e n e r . j a v a : 524 )   [ s p r i n g − b o o t − 2.1.6. R E L E A S E . j a r : 2.1.6. R E L E A S E ] a t o r g . s p r i n g f r a m e w o r k . b o o t . c o n t e x t . c o n f i g . C o n f i g F i l e A p p l i c a t i o n L i s t e n e r Loader.load(ConfigFileApplicationListener.java:524) ~[spring-boot-2.1.6.RELEASE.jar:2.1.6.RELEASE] at org.springframework.boot.context.config.ConfigFileApplicationListener Loader.load(ConfigFileApplicationListener.java:524) [springboot2.1.6.RELEASE.jar:2.1.6.RELEASE]atorg.springframework.boot.context.config.ConfigFileApplicationListenerLoader.loadForFileExtension(ConfigFileApplicationListener.java:473) ~[spring-boot-2.1.6.RELEASE.jar:2.1.6.RELEASE]
at org.springframework.boot.context.config.ConfigFileApplicationListener L o a d e r . l o a d ( C o n f i g F i l e A p p l i c a t i o n L i s t e n e r . j a v a : 443 )   [ s p r i n g − b o o t − 2.1.6. R E L E A S E . j a r : 2.1.6. R E L E A S E ] a t o r g . s p r i n g f r a m e w o r k . b o o t . c o n t e x t . c o n f i g . C o n f i g F i l e A p p l i c a t i o n L i s t e n e r Loader.load(ConfigFileApplicationListener.java:443) ~[spring-boot-2.1.6.RELEASE.jar:2.1.6.RELEASE] at org.springframework.boot.context.config.ConfigFileApplicationListener Loader.load(ConfigFileApplicationListener.java:443) [springboot2.1.6.RELEASE.jar:2.1.6.RELEASE]atorg.springframework.boot.context.config.ConfigFileApplicationListenerLoader.lambda$null 6 ( C o n f i g F i l e A p p l i c a t i o n L i s t e n e r . j a v a : 425 )   [ s p r i n g − b o o t − 2.1.6. R E L E A S E . j a r : 2.1.6. R E L E A S E ] a t j a v a . l a n g . I t e r a b l e . f o r E a c h ( I t e r a b l e . j a v a : 75 )   [ n a : 1.8. 0 1 81 ] a t o r g . s p r i n g f r a m e w o r k . b o o t . c o n t e x t . c o n f i g . C o n f i g F i l e A p p l i c a t i o n L i s t e n e r 6(ConfigFileApplicationListener.java:425) ~[spring-boot-2.1.6.RELEASE.jar:2.1.6.RELEASE] at java.lang.Iterable.forEach(Iterable.java:75) ~[na:1.8.0_181] at org.springframework.boot.context.config.ConfigFileApplicationListener 6(ConfigFileApplicationListener.java:425) [springboot2.1.6.RELEASE.jar:2.1.6.RELEASE]atjava.lang.Iterable.forEach(Iterable.java:75) [na:1.8.0181]atorg.springframework.boot.context.config.ConfigFileApplicationListenerLoader.lambda$load 7 ( C o n f i g F i l e A p p l i c a t i o n L i s t e n e r . j a v a : 425 )   [ s p r i n g − b o o t − 2.1.6. R E L E A S E . j a r : 2.1.6. R E L E A S E ] a t j a v a . l a n g . I t e r a b l e . f o r E a c h ( I t e r a b l e . j a v a : 75 )   [ n a : 1.8. 0 1 81 ] a t o r g . s p r i n g f r a m e w o r k . b o o t . c o n t e x t . c o n f i g . C o n f i g F i l e A p p l i c a t i o n L i s t e n e r 7(ConfigFileApplicationListener.java:425) ~[spring-boot-2.1.6.RELEASE.jar:2.1.6.RELEASE] at java.lang.Iterable.forEach(Iterable.java:75) ~[na:1.8.0_181] at org.springframework.boot.context.config.ConfigFileApplicationListener 7(ConfigFileApplicationListener.java:425) [springboot2.1.6.RELEASE.jar:2.1.6.RELEASE]atjava.lang.Iterable.forEach(Iterable.java:75) [na:1.8.0181]atorg.springframework.boot.context.config.ConfigFileApplicationListenerLoader.load(ConfigFileApplicationListener.java:422) ~[spring-boot-2.1.6.RELEASE.jar:2.1.6.RELEASE]
at org.springframework.boot.context.config.ConfigFileApplicationListener L o a d e r . l o a d ( C o n f i g F i l e A p p l i c a t i o n L i s t e n e r . j a v a : 321 )   [ s p r i n g − b o o t − 2.1.6. R E L E A S E . j a r : 2.1.6. R E L E A S E ] a t o r g . s p r i n g f r a m e w o r k . b o o t . c o n t e x t . c o n f i g . C o n f i g F i l e A p p l i c a t i o n L i s t e n e r . a d d P r o p e r t y S o u r c e s ( C o n f i g F i l e A p p l i c a t i o n L i s t e n e r . j a v a : 202 )   [ s p r i n g − b o o t − 2.1.6. R E L E A S E . j a r : 2.1.6. R E L E A S E ] a t o r g . s p r i n g f r a m e w o r k . b o o t . c o n t e x t . c o n f i g . C o n f i g F i l e A p p l i c a t i o n L i s t e n e r . p o s t P r o c e s s E n v i r o n m e n t ( C o n f i g F i l e A p p l i c a t i o n L i s t e n e r . j a v a : 186 )   [ s p r i n g − b o o t − 2.1.6. R E L E A S E . j a r : 2.1.6. R E L E A S E ] a t o r g . s p r i n g f r a m e w o r k . b o o t . c o n t e x t . c o n f i g . C o n f i g F i l e A p p l i c a t i o n L i s t e n e r . o n A p p l i c a t i o n E n v i r o n m e n t P r e p a r e d E v e n t ( C o n f i g F i l e A p p l i c a t i o n L i s t e n e r . j a v a : 176 )   [ s p r i n g − b o o t − 2.1.6. R E L E A S E . j a r : 2.1.6. R E L E A S E ] a t o r g . s p r i n g f r a m e w o r k . b o o t . c o n t e x t . c o n f i g . C o n f i g F i l e A p p l i c a t i o n L i s t e n e r . o n A p p l i c a t i o n E v e n t ( C o n f i g F i l e A p p l i c a t i o n L i s t e n e r . j a v a : 164 )   [ s p r i n g − b o o t − 2.1.6. R E L E A S E . j a r : 2.1.6. R E L E A S E ] a t o r g . s p r i n g f r a m e w o r k . c o n t e x t . e v e n t . S i m p l e A p p l i c a t i o n E v e n t M u l t i c a s t e r . d o I n v o k e L i s t e n e r ( S i m p l e A p p l i c a t i o n E v e n t M u l t i c a s t e r . j a v a : 172 )   [ s p r i n g − c o n t e x t − 5.1.8. R E L E A S E . j a r : 5.1.8. R E L E A S E ] a t o r g . s p r i n g f r a m e w o r k . c o n t e x t . e v e n t . S i m p l e A p p l i c a t i o n E v e n t M u l t i c a s t e r . i n v o k e L i s t e n e r ( S i m p l e A p p l i c a t i o n E v e n t M u l t i c a s t e r . j a v a : 165 )   [ s p r i n g − c o n t e x t − 5.1.8. R E L E A S E . j a r : 5.1.8. R E L E A S E ] a t o r g . s p r i n g f r a m e w o r k . c o n t e x t . e v e n t . S i m p l e A p p l i c a t i o n E v e n t M u l t i c a s t e r . m u l t i c a s t E v e n t ( S i m p l e A p p l i c a t i o n E v e n t M u l t i c a s t e r . j a v a : 139 )   [ s p r i n g − c o n t e x t − 5.1.8. R E L E A S E . j a r : 5.1.8. R E L E A S E ] a t o r g . s p r i n g f r a m e w o r k . c o n t e x t . e v e n t . S i m p l e A p p l i c a t i o n E v e n t M u l t i c a s t e r . m u l t i c a s t E v e n t ( S i m p l e A p p l i c a t i o n E v e n t M u l t i c a s t e r . j a v a : 127 )   [ s p r i n g − c o n t e x t − 5.1.8. R E L E A S E . j a r : 5.1.8. R E L E A S E ] a t o r g . s p r i n g f r a m e w o r k . b o o t . c o n t e x t . e v e n t . E v e n t P u b l i s h i n g R u n L i s t e n e r . e n v i r o n m e n t P r e p a r e d ( E v e n t P u b l i s h i n g R u n L i s t e n e r . j a v a : 75 )   [ s p r i n g − b o o t − 2.1.6. R E L E A S E . j a r : 2.1.6. R E L E A S E ] a t o r g . s p r i n g f r a m e w o r k . b o o t . S p r i n g A p p l i c a t i o n R u n L i s t e n e r s . e n v i r o n m e n t P r e p a r e d ( S p r i n g A p p l i c a t i o n R u n L i s t e n e r s . j a v a : 53 )   [ s p r i n g − b o o t − 2.1.6. R E L E A S E . j a r : 2.1.6. R E L E A S E ] a t o r g . s p r i n g f r a m e w o r k . b o o t . S p r i n g A p p l i c a t i o n . p r e p a r e E n v i r o n m e n t ( S p r i n g A p p l i c a t i o n . j a v a : 340 ) [ s p r i n g − b o o t − 2.1.6. R E L E A S E . j a r : 2.1.6. R E L E A S E ] a t o r g . s p r i n g f r a m e w o r k . b o o t . S p r i n g A p p l i c a t i o n . r u n ( S p r i n g A p p l i c a t i o n . j a v a : 304 ) [ s p r i n g − b o o t − 2.1.6. R E L E A S E . j a r : 2.1.6. R E L E A S E ] a t o r g . s p r i n g f r a m e w o r k . b o o t . S p r i n g A p p l i c a t i o n . r u n ( S p r i n g A p p l i c a t i o n . j a v a : 1213 ) [ s p r i n g − b o o t − 2.1.6. R E L E A S E . j a r : 2.1.6. R E L E A S E ] a t o r g . s p r i n g f r a m e w o r k . b o o t . S p r i n g A p p l i c a t i o n . r u n ( S p r i n g A p p l i c a t i o n . j a v a : 1202 ) [ s p r i n g − b o o t − 2.1.6. R E L E A S E . j a r : 2.1.6. R E L E A S E ] a t c o m . w i l l i a m . E u r e k a S e r v e r A p p l i c a t i o n . m a i n ( E u r e k a S e r v e r A p p l i c a t i o n . j a v a : 12 ) [ c l a s s e s / : n a ] C a u s e d b y : o r g . y a m l . s n a k e y a m l . e r r o r . Y A M L E x c e p t i o n : j a v a . n i o . c h a r s e t . M a l f o r m e d I n p u t E x c e p t i o n : I n p u t l e n g t h = 2 a t o r g . y a m l . s n a k e y a m l . r e a d e r . S t r e a m R e a d e r . u p d a t e ( S t r e a m R e a d e r . j a v a : 218 )   [ s n a k e y a m l − 1.23. j a r : n a ] a t o r g . y a m l . s n a k e y a m l . r e a d e r . S t r e a m R e a d e r . e n s u r e E n o u g h D a t a ( S t r e a m R e a d e r . j a v a : 176 )   [ s n a k e y a m l − 1.23. j a r : n a ] a t o r g . y a m l . s n a k e y a m l . r e a d e r . S t r e a m R e a d e r . e n s u r e E n o u g h D a t a ( S t r e a m R e a d e r . j a v a : 171 )   [ s n a k e y a m l − 1.23. j a r : n a ] a t o r g . y a m l . s n a k e y a m l . r e a d e r . S t r e a m R e a d e r . p e e k ( S t r e a m R e a d e r . j a v a : 126 )   [ s n a k e y a m l − 1.23. j a r : n a ] a t o r g . y a m l . s n a k e y a m l . s c a n n e r . S c a n n e r I m p l . s c a n T o N e x t T o k e n ( S c a n n e r I m p l . j a v a : 1177 )   [ s n a k e y a m l − 1.23. j a r : n a ] a t o r g . y a m l . s n a k e y a m l . s c a n n e r . S c a n n e r I m p l . f e t c h M o r e T o k e n s ( S c a n n e r I m p l . j a v a : 287 )   [ s n a k e y a m l − 1.23. j a r : n a ] a t o r g . y a m l . s n a k e y a m l . s c a n n e r . S c a n n e r I m p l . c h e c k T o k e n ( S c a n n e r I m p l . j a v a : 227 )   [ s n a k e y a m l − 1.23. j a r : n a ] a t o r g . y a m l . s n a k e y a m l . p a r s e r . P a r s e r I m p l Loader.load(ConfigFileApplicationListener.java:321) ~[spring-boot-2.1.6.RELEASE.jar:2.1.6.RELEASE] at org.springframework.boot.context.config.ConfigFileApplicationListener.addPropertySources(ConfigFileApplicationListener.java:202) ~[spring-boot-2.1.6.RELEASE.jar:2.1.6.RELEASE] at org.springframework.boot.context.config.ConfigFileApplicationListener.postProcessEnvironment(ConfigFileApplicationListener.java:186) ~[spring-boot-2.1.6.RELEASE.jar:2.1.6.RELEASE] at org.springframework.boot.context.config.ConfigFileApplicationListener.onApplicationEnvironmentPreparedEvent(ConfigFileApplicationListener.java:176) ~[spring-boot-2.1.6.RELEASE.jar:2.1.6.RELEASE] at org.springframework.boot.context.config.ConfigFileApplicationListener.onApplicationEvent(ConfigFileApplicationListener.java:164) ~[spring-boot-2.1.6.RELEASE.jar:2.1.6.RELEASE] at org.springframework.context.event.SimpleApplicationEventMulticaster.doInvokeListener(SimpleApplicationEventMulticaster.java:172) ~[spring-context-5.1.8.RELEASE.jar:5.1.8.RELEASE] at org.springframework.context.event.SimpleApplicationEventMulticaster.invokeListener(SimpleApplicationEventMulticaster.java:165) ~[spring-context-5.1.8.RELEASE.jar:5.1.8.RELEASE] at org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:139) ~[spring-context-5.1.8.RELEASE.jar:5.1.8.RELEASE] at org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:127) ~[spring-context-5.1.8.RELEASE.jar:5.1.8.RELEASE] at org.springframework.boot.context.event.EventPublishingRunListener.environmentPrepared(EventPublishingRunListener.java:75) ~[spring-boot-2.1.6.RELEASE.jar:2.1.6.RELEASE] at org.springframework.boot.SpringApplicationRunListeners.environmentPrepared(SpringApplicationRunListeners.java:53) ~[spring-boot-2.1.6.RELEASE.jar:2.1.6.RELEASE] at org.springframework.boot.SpringApplication.prepareEnvironment(SpringApplication.java:340) [spring-boot-2.1.6.RELEASE.jar:2.1.6.RELEASE] at org.springframework.boot.SpringApplication.run(SpringApplication.java:304) [spring-boot-2.1.6.RELEASE.jar:2.1.6.RELEASE] at org.springframework.boot.SpringApplication.run(SpringApplication.java:1213) [spring-boot-2.1.6.RELEASE.jar:2.1.6.RELEASE] at org.springframework.boot.SpringApplication.run(SpringApplication.java:1202) [spring-boot-2.1.6.RELEASE.jar:2.1.6.RELEASE] at com.william.EurekaServerApplication.main(EurekaServerApplication.java:12) [classes/:na] Caused by: org.yaml.snakeyaml.error.YAMLException: java.nio.charset.MalformedInputException: Input length = 2 at org.yaml.snakeyaml.reader.StreamReader.update(StreamReader.java:218) ~[snakeyaml-1.23.jar:na] at org.yaml.snakeyaml.reader.StreamReader.ensureEnoughData(StreamReader.java:176) ~[snakeyaml-1.23.jar:na] at org.yaml.snakeyaml.reader.StreamReader.ensureEnoughData(StreamReader.java:171) ~[snakeyaml-1.23.jar:na] at org.yaml.snakeyaml.reader.StreamReader.peek(StreamReader.java:126) ~[snakeyaml-1.23.jar:na] at org.yaml.snakeyaml.scanner.ScannerImpl.scanToNextToken(ScannerImpl.java:1177) ~[snakeyaml-1.23.jar:na] at org.yaml.snakeyaml.scanner.ScannerImpl.fetchMoreTokens(ScannerImpl.java:287) ~[snakeyaml-1.23.jar:na] at org.yaml.snakeyaml.scanner.ScannerImpl.checkToken(ScannerImpl.java:227) ~[snakeyaml-1.23.jar:na] at org.yaml.snakeyaml.parser.ParserImpl Loader.load(ConfigFileApplicationListener.java:321) [springboot2.1.6.RELEASE.jar:2.1.6.RELEASE]atorg.springframework.boot.context.config.ConfigFileApplicationListener.addPropertySources(ConfigFileApplicationListener.java:202) [springboot2.1.6.RELEASE.jar:2.1.6.RELEASE]atorg.springframework.boot.context.config.ConfigFileApplicationListener.postProcessEnvironment(ConfigFileApplicationListener.java:186) [springboot2.1.6.RELEASE.jar:2.1.6.RELEASE]atorg.springframework.boot.context.config.ConfigFileApplicationListener.onApplicationEnvironmentPreparedEvent(ConfigFileApplicationListener.java:176) [springboot2.1.6.RELEASE.jar:2.1.6.RELEASE]atorg.springframework.boot.context.config.ConfigFileApplicationListener.onApplicationEvent(ConfigFileApplicationListener.java:164) [springboot2.1.6.RELEASE.jar:2.1.6.RELEASE]atorg.springframework.context.event.SimpleApplicationEventMulticaster.doInvokeListener(SimpleApplicationEventMulticaster.java:172) [springcontext5.1.8.RELEASE.jar:5.1.8.RELEASE]atorg.springframework.context.event.SimpleApplicationEventMulticaster.invokeListener(SimpleApplicationEventMulticaster.java:165) [springcontext5.1.8.RELEASE.jar:5.1.8.RELEASE]atorg.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:139) [springcontext5.1.8.RELEASE.jar:5.1.8.RELEASE]atorg.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:127) [springcontext5.1.8.RELEASE.jar:5.1.8.RELEASE]atorg.springframework.boot.context.event.EventPublishingRunListener.environmentPrepared(EventPublishingRunListener.java:75) [springboot2.1.6.RELEASE.jar:2.1.6.RELEASE]atorg.springframework.boot.SpringApplicationRunListeners.environmentPrepared(SpringApplicationRunListeners.java:53) [springboot2.1.6.RELEASE.jar:2.1.6.RELEASE]atorg.springframework.boot.SpringApplication.prepareEnvironment(SpringApplication.java:340)[springboot2.1.6.RELEASE.jar:2.1.6.RELEASE]atorg.springframework.boot.SpringApplication.run(SpringApplication.java:304)[springboot2.1.6.RELEASE.jar:2.1.6.RELEASE]atorg.springframework.boot.SpringApplication.run(SpringApplication.java:1213)[springboot2.1.6.RELEASE.jar:2.1.6.RELEASE]atorg.springframework.boot.SpringApplication.run(SpringApplication.java:1202)[springboot2.1.6.RELEASE.jar:2.1.6.RELEASE]atcom.william.EurekaServerApplication.main(EurekaServerApplication.java:12)[classes/:na]Causedby:org.yaml.snakeyaml.error.YAMLException:java.nio.charset.MalformedInputException:Inputlength=2atorg.yaml.snakeyaml.reader.StreamReader.update(StreamReader.java:218) [snakeyaml1.23.jar:na]atorg.yaml.snakeyaml.reader.StreamReader.ensureEnoughData(StreamReader.java:176) [snakeyaml1.23.jar:na]atorg.yaml.snakeyaml.reader.StreamReader.ensureEnoughData(StreamReader.java:171) [snakeyaml1.23.jar:na]atorg.yaml.snakeyaml.reader.StreamReader.peek(StreamReader.java:126) [snakeyaml1.23.jar:na]atorg.yaml.snakeyaml.scanner.ScannerImpl.scanToNextToken(ScannerImpl.java:1177) [snakeyaml1.23.jar:na]atorg.yaml.snakeyaml.scanner.ScannerImpl.fetchMoreTokens(ScannerImpl.java:287) [snakeyaml1.23.jar:na]atorg.yaml.snakeyaml.scanner.ScannerImpl.checkToken(ScannerImpl.java:227) [snakeyaml1.23.jar:na]atorg.yaml.snakeyaml.parser.ParserImplParseImplicitDocumentStart.produce(ParserImpl.java:195) ~[snakeyaml-1.23.jar:na]
at org.yaml.snakeyaml.parser.ParserImpl.peekEvent(ParserImpl.java:158) ~[snakeyaml-1.23.jar:na]
at org.yaml.snakeyaml.parser.ParserImpl.checkEvent(ParserImpl.java:148) ~[snakeyaml-1.23.jar:na]
at org.yaml.snakeyaml.composer.Composer.checkNode(Composer.java:72) ~[snakeyaml-1.23.jar:na]
at org.yaml.snakeyaml.constructor.BaseConstructor.checkData(BaseConstructor.java:112) ~[snakeyaml-1.23.jar:na]
at org.yaml.snakeyaml.Yaml 1. h a s N e x t ( Y a m l . j a v a : 542 )   [ s n a k e y a m l − 1.23. j a r : n a ] a t o r g . s p r i n g f r a m e w o r k . b e a n s . f a c t o r y . c o n f i g . Y a m l P r o c e s s o r . p r o c e s s ( Y a m l P r o c e s s o r . j a v a : 160 )   [ s p r i n g − b e a n s − 5.1.8. R E L E A S E . j a r : 5.1.8. R E L E A S E ] a t o r g . s p r i n g f r a m e w o r k . b e a n s . f a c t o r y . c o n f i g . Y a m l P r o c e s s o r . p r o c e s s ( Y a m l P r o c e s s o r . j a v a : 134 )   [ s p r i n g − b e a n s − 5.1.8. R E L E A S E . j a r : 5.1.8. R E L E A S E ] a t o r g . s p r i n g f r a m e w o r k . b o o t . e n v . O r i g i n T r a c k e d Y a m l L o a d e r . l o a d ( O r i g i n T r a c k e d Y a m l L o a d e r . j a v a : 75 )   [ s p r i n g − b o o t − 2.1.6. R E L E A S E . j a r : 2.1.6. R E L E A S E ] a t o r g . s p r i n g f r a m e w o r k . b o o t . e n v . Y a m l P r o p e r t y S o u r c e L o a d e r . l o a d ( Y a m l P r o p e r t y S o u r c e L o a d e r . j a v a : 49 )   [ s p r i n g − b o o t − 2.1.6. R E L E A S E . j a r : 2.1.6. R E L E A S E ] a t o r g . s p r i n g f r a m e w o r k . b o o t . c o n t e x t . c o n f i g . C o n f i g F i l e A p p l i c a t i o n L i s t e n e r 1.hasNext(Yaml.java:542) ~[snakeyaml-1.23.jar:na] at org.springframework.beans.factory.config.YamlProcessor.process(YamlProcessor.java:160) ~[spring-beans-5.1.8.RELEASE.jar:5.1.8.RELEASE] at org.springframework.beans.factory.config.YamlProcessor.process(YamlProcessor.java:134) ~[spring-beans-5.1.8.RELEASE.jar:5.1.8.RELEASE] at org.springframework.boot.env.OriginTrackedYamlLoader.load(OriginTrackedYamlLoader.java:75) ~[spring-boot-2.1.6.RELEASE.jar:2.1.6.RELEASE] at org.springframework.boot.env.YamlPropertySourceLoader.load(YamlPropertySourceLoader.java:49) ~[spring-boot-2.1.6.RELEASE.jar:2.1.6.RELEASE] at org.springframework.boot.context.config.ConfigFileApplicationListener 1.hasNext(Yaml.java:542) [snakeyaml1.23.jar:na]atorg.springframework.beans.factory.config.YamlProcessor.process(YamlProcessor.java:160) [springbeans5.1.8.RELEASE.jar:5.1.8.RELEASE]atorg.springframework.beans.factory.config.YamlProcessor.process(YamlProcessor.java:134) [springbeans5.1.8.RELEASE.jar:5.1.8.RELEASE]atorg.springframework.boot.env.OriginTrackedYamlLoader.load(OriginTrackedYamlLoader.java:75) [springboot2.1.6.RELEASE.jar:2.1.6.RELEASE]atorg.springframework.boot.env.YamlPropertySourceLoader.load(YamlPropertySourceLoader.java:49) [springboot2.1.6.RELEASE.jar:2.1.6.RELEASE]atorg.springframework.boot.context.config.ConfigFileApplicationListenerLoader.loadDocuments(ConfigFileApplicationListener.java:542) ~[spring-boot-2.1.6.RELEASE.jar:2.1.6.RELEASE]
at org.springframework.boot.context.config.ConfigFileApplicationListener$Loader.load(ConfigFileApplicationListener.java:497) ~[spring-boot-2.1.6.RELEASE.jar:2.1.6.RELEASE]
… 23 common frames omitted
Caused by: java.nio.charset.MalformedInputException: Input length = 2
at java.nio.charset.CoderResult.throwException(CoderResult.java:281) ~[na:1.8.0_181]
at sun.nio.cs.StreamDecoder.implRead(StreamDecoder.java:339) ~[na:1.8.0_181]
at sun.nio.cs.StreamDecoder.read(StreamDecoder.java:178) ~[na:1.8.0_181]
at java.io.InputStreamReader.read(InputStreamReader.java:184) ~[na:1.8.0_181]
at org.yaml.snakeyaml.reader.UnicodeReader.read(UnicodeReader.java:125) ~[snakeyaml-1.23.jar:na]
at org.yaml.snakeyaml.reader.StreamReader.update(StreamReader.java:183) ~[snakeyaml-1.23.jar:na]
… 41 common frames omitted

Disconnected from the target VM, address: ‘127.0.0.1:53700’, transport: ‘socket’

Process finished with exit code 1

造成 org.yaml.snakeyaml.error.YAMLException: java.nio.charset.MalformedInputException: Input length = 2这种原因的情况

1.文件编码有问题

2.application.yml文件格式的问题

(1)注释错误引起(application.yml采用的是#注释而不是//)
(2)缩进采用tab而不是空格引起的(不同配置之间也不能有tab出现,否则会报错)
(3)冒号后面必须有空格否则会报错
(4)树状结构,前面的空格数量可能会不对,每次应2个空格

3.可能就是你的application.yml文件是通过把其他类型的文件后缀名直接改为yml生成的

最好的解决方案

(1)把application.yml中的内容全部复制,然后删除,再新建一个application.yml文件,将复制的内容拷贝进去再运行项目
(2)修改编码为UTF-8,但是我没修改成功
在这里插入图片描述

  • 3
    点赞
  • 4
    收藏
    觉得还不错? 一键收藏
  • 4
    评论
评论 4
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值