"C:\Program Files\Java\jdk1.8.0_171\bin\java" -XX:TieredStopAtLevel=1 -noverify -Dspring.output.ansi.enabled=always -Dcom.sun.management.jmxremote -Dcom.sun.management.jmxremote.port=55162 -Dcom.sun.management.jmxremote.authenticate=false -Dcom.sun.management.jmxremote.ssl=false -Dspring.liveBeansView.mbeanDomain -Dspring.application.admin.enabled=true "-javaagent:C:\Program Files\JetBrains\IntelliJ IDEA 2017.2.6\lib\idea_rt.jar=55163:C:\Program Files\JetBrains\IntelliJ IDEA 2017.2.6\bin" -Dfile.encoding=UTF-8 -classpath "C:\Program Files\Java\jdk1.8.0_171\jre\lib\charsets.jar;C:\Program Files\Java\jdk1.8.0_171\jre\lib\deploy.jar;C:\Program Files\Java\jdk1.8.0_171\jre\lib\ext\access-bridge-64.jar;C:\Program Files\Java\jdk1.8.0_171\jre\lib\ext\cldrdata.jar;C:\Program Files\Java\jdk1.8.0_171\jre\lib\ext\dnsns.jar;C:\Program Files\Java\jdk1.8.0_171\jre\lib\ext\jaccess.jar;C:\Program Files\Java\jdk1.8.0_171\jre\lib\ext\jfxrt.jar;C:\Program Files\Java\jdk1.8.0_171\jre\lib\ext\localedata.jar;C:\Program Files\Java\jdk1.8.0_171\jre\lib\ext\nashorn.jar;C:\Program Files\Java\jdk1.8.0_171\jre\lib\ext\sunec.jar;C:\Program Files\Java\jdk1.8.0_171\jre\lib\ext\sunjce_provider.jar;C:\Program Files\Java\jdk1.8.0_171\jre\lib\ext\sunmscapi.jar;C:\Program Files\Java\jdk1.8.0_171\jre\lib\ext\sunpkcs11.jar;C:\Program Files\Java\jdk1.8.0_171\jre\lib\ext\zipfs.jar;C:\Program Files\Java\jdk1.8.0_171\jre\lib\javaws.jar;C:\Program Files\Java\jdk1.8.0_171\jre\lib\jce.jar;C:\Program Files\Java\jdk1.8.0_171\jre\lib\jfr.jar;C:\Program Files\Java\jdk1.8.0_171\jre\lib\jfxswt.jar;C:\Program Files\Java\jdk1.8.0_171\jre\lib\jsse.jar;C:\Program Files\Java\jdk1.8.0_171\jre\lib\management-agent.jar;C:\Program Files\Java\jdk1.8.0_171\jre\lib\plugin.jar;C:\Program Files\Java\jdk1.8.0_171\jre\lib\resources.jar;C:\Program Files\Java\jdk1.8.0_171\jre\lib\rt.jar;D:\spring-clound\itcast-service-provider\target\classes;C:\Users\hasee\.m2\repository_2020.02.11\org\springframework\boot\spring-boot-starter-jdbc\2.2.5.RELEASE\spring-boot-starter-jdbc-2.2.5.RELEASE.jar;C:\Users\hasee\.m2\repository_2020.02.11\org\springframework\boot\spring-boot-starter\2.2.5.RELEASE\spring-boot-starter-2.2.5.RELEASE.jar;C:\Users\hasee\.m2\repository_2020.02.11\org\springframework\boot\spring-boot\2.2.5.RELEASE\spring-boot-2.2.5.RELEASE.jar;C:\Users\hasee\.m2\repository_2020.02.11\org\springframework\boot\spring-boot-autoconfigure\2.2.5.RELEASE\spring-boot-autoconfigure-2.2.5.RELEASE.jar;C:\Users\hasee\.m2\repository_2020.02.11\org\springframework\boot\spring-boot-starter-logging\2.2.5.RELEASE\spring-boot-starter-logging-2.2.5.RELEASE.jar;C:\Users\hasee\.m2\repository_2020.02.11\ch\qos\logback\logback-classic\1.2.3\logback-classic-1.2.3.jar;C:\Users\hasee\.m2\repository_2020.02.11\ch\qos\logback\logback-core\1.2.3\logback-core-1.2.3.jar;C:\Users\hasee\.m2\repository_2020.02.11\org\apache\logging\log4j\log4j-to-slf4j\2.12.1\log4j-to-slf4j-2.12.1.jar;C:\Users\hasee\.m2\repository_2020.02.11\org\apache\logging\log4j\log4j-api\2.12.1\log4j-api-2.12.1.jar;C:\Users\hasee\.m2\repository_2020.02.11\org\slf4j\jul-to-slf4j\1.7.30\jul-to-slf4j-1.7.30.jar;C:\Users\hasee\.m2\repository_2020.02.11\jakarta\annotation\jakarta.annotation-api\1.3.5\jakarta.annotation-api-1.3.5.jar;C:\Users\hasee\.m2\repository_2020.02.11\org\yaml\snakeyaml\1.25\snakeyaml-1.25.jar;C:\Users\hasee\.m2\repository_2020.02.11\com\zaxxer\HikariCP\3.4.2\HikariCP-3.4.2.jar;C:\Users\hasee\.m2\repository_2020.02.11\org\slf4j\slf4j-api\1.7.30\slf4j-api-1.7.30.jar;C:\Users\hasee\.m2\repository_2020.02.11\org\springframework\spring-jdbc\5.2.4.RELEASE\spring-jdbc-5.2.4.RELEASE.jar;C:\Users\hasee\.m2\repository_2020.02.11\org\springframework\spring-beans\5.2.4.RELEASE\spring-beans-5.2.4.RELEASE.jar;C:\Users\hasee\.m2\repository_2020.02.11\org\springframework\spring-tx\5.2.4.RELEASE\spring-tx-5.2.4.RELEASE.jar;C:\Users\hasee\.m2\repository_2020.02.11\org\springframework\boot\spring-boot-starter-web\2.2.5.RELEASE\spring-boot-starter-web-2.2.5.RELEASE.jar;C:\Users\hasee\.m2\repository_2020.02.11\org\springframework\boot\spring-boot-starter-json\2.2.5.RELEASE\spring-boot-starter-json-2.2.5.RELEASE.jar;C:\Users\hasee\.m2\repository_2020.02.11\com\fasterxml\jackson\core\jackson-databind\2.10.2\jackson-databind-2.10.2.jar;C:\Users\hasee\.m2\repository_2020.02.11\com\fasterxml\jackson\datatype\jackson-datatype-jdk8\2.10.2\jackson-datatype-jdk8-2.10.2.jar;C:\Users\hasee\.m2\repository_2020.02.11\com\fasterxml\jackson\datatype\jackson-datatype-jsr310\2.10.2\jackson-datatype-jsr310-2.10.2.jar;C:\Users\hasee\.m2\repository_2020.02.11\com\fasterxml\jackson\module\jackson-module-parameter-names\2.10.2\jackson-module-parameter-names-2.10.2.jar;C:\Users\hasee\.m2\repository_2020.02.11\org\springframework\boot\spring-boot-starter-tomcat\2.2.5.RELEASE\spring-boot-starter-tomcat-2.2.5.RELEASE.jar;C:\Users\hasee\.m2\repository_2020.02.11\org\apache\tomcat\embed\tomcat-embed-core\9.0.31\tomcat-embed-core-9.0.31.jar;C:\Users\hasee\.m2\repository_2020.02.11\org\apache\tomcat\embed\tomcat-embed-el\9.0.31\tomcat-embed-el-9.0.31.jar;C:\Users\hasee\.m2\repository_2020.02.11\org\apache\tomcat\embed\tomcat-embed-websocket\9.0.31\tomcat-embed-websocket-9.0.31.jar;C:\Users\hasee\.m2\repository_2020.02.11\org\springframework\boot\spring-boot-starter-validation\2.2.5.RELEASE\spring-boot-starter-validation-2.2.5.RELEASE.jar;C:\Users\hasee\.m2\repository_2020.02.11\jakarta\validation\jakarta.validation-api\2.0.2\jakarta.validation-api-2.0.2.jar;C:\Users\hasee\.m2\repository_2020.02.11\org\hibernate\validator\hibernate-validator\6.0.18.Final\hibernate-validator-6.0.18.Final.jar;C:\Users\hasee\.m2\repository_2020.02.11\org\jboss\logging\jboss-logging\3.4.1.Final\jboss-logging-3.4.1.Final.jar;C:\Users\hasee\.m2\repository_2020.02.11\com\fasterxml\classmate\1.5.1\classmate-1.5.1.jar;C:\Users\hasee\.m2\repository_2020.02.11\org\springframework\spring-web\5.2.4.RELEASE\spring-web-5.2.4.RELEASE.jar;C:\Users\hasee\.m2\repository_2020.02.11\org\springframework\spring-webmvc\5.2.4.RELEASE\spring-webmvc-5.2.4.RELEASE.jar;C:\Users\hasee\.m2\repository_2020.02.11\org\springframework\spring-aop\5.2.4.RELEASE\spring-aop-5.2.4.RELEASE.jar;C:\Users\hasee\.m2\repository_2020.02.11\org\springframework\spring-context\5.2.4.RELEASE\spring-context-5.2.4.RELEASE.jar;C:\Users\hasee\.m2\repository_2020.02.11\org\springframework\spring-expression\5.2.4.RELEASE\spring-expression-5.2.4.RELEASE.jar;C:\Users\hasee\.m2\repository_2020.02.11\org\mybatis\spring\boot\mybatis-spring-boot-starter\2.1.2\mybatis-spring-boot-starter-2.1.2.jar;C:\Users\hasee\.m2\repository_2020.02.11\org\mybatis\spring\boot\mybatis-spring-boot-autoconfigure\2.1.2\mybatis-spring-boot-autoconfigure-2.1.2.jar;C:\Users\hasee\.m2\repository_2020.02.11\org\mybatis\mybatis\3.5.4\mybatis-3.5.4.jar;C:\Users\hasee\.m2\repository_2020.02.11\org\mybatis\mybatis-spring\2.0.4\mybatis-spring-2.0.4.jar;C:\Users\hasee\.m2\repository_2020.02.11\mysql\mysql-connector-java\8.0.19\mysql-connector-java-8.0.19.jar;C:\Users\hasee\.m2\repository_2020.02.11\org\springframework\spring-core\5.2.4.RELEASE\spring-core-5.2.4.RELEASE.jar;C:\Users\hasee\.m2\repository_2020.02.11\org\springframework\spring-jcl\5.2.4.RELEASE\spring-jcl-5.2.4.RELEASE.jar;C:\Users\hasee\.m2\repository_2020.02.11\tk\mybatis\mapper-spring-boot-starter\2.0.4\mapper-spring-boot-starter-2.0.4.jar;C:\Users\hasee\.m2\repository_2020.02.11\tk\mybatis\mapper-core\1.0.5\mapper-core-1.0.5.jar;C:\Users\hasee\.m2\repository_2020.02.11\javax\persistence\persistence-api\1.0\persistence-api-1.0.jar;C:\Users\hasee\.m2\repository_2020.02.11\tk\mybatis\mapper-base\1.0.5\mapper-base-1.0.5.jar;C:\Users\hasee\.m2\repository_2020.02.11\tk\mybatis\mapper-weekend\1.1.4.1\mapper-weekend-1.1.4.1.jar;C:\Users\hasee\.m2\repository_2020.02.11\tk\mybatis\mapper-spring\1.0.5\mapper-spring-1.0.5.jar;C:\Users\hasee\.m2\repository_2020.02.11\tk\mybatis\mapper-extra\1.0.5\mapper-extra-1.0.5.jar;C:\Users\hasee\.m2\repository_2020.02.11\tk\mybatis\mapper-spring-boot-autoconfigure\2.0.4\mapper-spring-boot-autoconfigure-2.0.4.jar;C:\Users\hasee\.m2\repository_2020.02.11\org\springframework\cloud\spring-cloud-starter-netflix-eureka-client\2.0.2.RELEASE\spring-cloud-starter-netflix-eureka-client-2.0.2.RELEASE.jar;C:\Users\hasee\.m2\repository_2020.02.11\org\springframework\cloud\spring-cloud-starter\2.0.2.RELEASE\spring-cloud-starter-2.0.2.RELEASE.jar;C:\Users\hasee\.m2\repository_2020.02.11\org\springframework\cloud\spring-cloud-context\2.0.2.RELEASE\spring-cloud-context-2.0.2.RELEASE.jar;C:\Users\hasee\.m2\repository_2020.02.11\org\springframework\security\spring-security-crypto\5.2.2.RELEASE\spring-security-crypto-5.2.2.RELEASE.jar;C:\Users\hasee\.m2\repository_2020.02.11\org\springframework\cloud\spring-cloud-commons\2.0.2.RELEASE\spring-cloud-commons-2.0.2.RELEASE.jar;C:\Users\hasee\.m2\repository_2020.02.11\org\springframework\security\spring-security-rsa\1.0.7.RELEASE\spring-security-rsa-1.0.7.RELEASE.jar;C:\Users\hasee\.m2\repository_2020.02.11\org\bouncycastle\bcpkix-jdk15on\1.60\bcpkix-jdk15on-1.60.jar;C:\Users\hasee\.m2\repository_2020.02.11\org\bouncycastle\bcprov-jdk15on\1.60\bcprov-jdk15on-1.60.jar;C:\Users\hasee\.m2\repository_2020.02.11\org\springframework\cloud\spring-cloud-netflix-core\2.0.2.RELEASE\spring-cloud-netflix-core-2.0.2.RELEASE.jar;C:\Users\hasee\.m2\repository_2020.02.11\org\springframework\boot\spring-boot-starter-aop\2.2.5.RELEASE\spring-boot-starter-aop-2.2.5.RELEASE.jar;C:\Users\hasee\.m2\repository_2020.02.11\org\aspectj\aspectjweaver\1.9.5\aspectjweaver-1.9.5.jar;C:\Users\hasee\.m2\repository_2020.02.11\org\springframework\cloud\spring-cloud-netflix-eureka-client\2.0.2.RELEASE\spring-cloud-netflix-eureka-client-2.0.2.RELEASE.jar;C:\Users\hasee\.m2\repository_2020.02.11\com\netflix\eureka\eureka-client\1.9.3\eureka-client-1.9.3.jar;C:\Users\hasee\.m2\repository_2020.02.11\org\codehaus\jettison\jettison\1.3.7\jettison-1.3.7.jar;C:\Users\hasee\.m2\repository_2020.02.11\stax\stax-api\1.0.1\stax-api-1.0.1.jar;C:\Users\hasee\.m2\repository_2020.02.11\com\netflix\netflix-commons\netflix-eventbus\0.3.0\netflix-eventbus-0.3.0.jar;C:\Users\hasee\.m2\repository_2020.02.11\com\netflix\netflix-commons\netflix-infix\0.3.0\netflix-infix-0.3.0.jar;C:\Users\hasee\.m2\repository_2020.02.11\commons-jxpath\commons-jxpath\1.3\commons-jxpath-1.3.jar;C:\Users\hasee\.m2\repository_2020.02.11\joda-time\joda-time\2.10.5\joda-time-2.10.5.jar;C:\Users\hasee\.m2\repository_2020.02.11\org\antlr\antlr-runtime\3.4\antlr-runtime-3.4.jar;C:\Users\hasee\.m2\repository_2020.02.11\org\antlr\stringtemplate\3.2.1\stringtemplate-3.2.1.jar;C:\Users\hasee\.m2\repository_2020.02.11\antlr\antlr\2.7.7\antlr-2.7.7.jar;C:\Users\hasee\.m2\repository_2020.02.11\com\google\code\gson\gson\2.8.6\gson-2.8.6.jar;C:\Users\hasee\.m2\repository_2020.02.11\org\apache\commons\commons-math\2.2\commons-math-2.2.jar;C:\Users\hasee\.m2\repository_2020.02.11\com\netflix\archaius\archaius-core\0.7.6\archaius-core-0.7.6.jar;C:\Users\hasee\.m2\repository_2020.02.11\com\google\guava\guava\16.0\guava-16.0.jar;C:\Users\hasee\.m2\repository_2020.02.11\javax\ws\rs\jsr311-api\1.1.1\jsr311-api-1.1.1.jar;C:\Users\hasee\.m2\repository_2020.02.11\com\netflix\servo\servo-core\0.12.21\servo-core-0.12.21.jar;C:\Users\hasee\.m2\repository_2020.02.11\com\sun\jersey\jersey-core\1.19.1\jersey-core-1.19.1.jar;C:\Users\hasee\.m2\repository_2020.02.11\com\sun\jersey\jersey-client\1.19.1\jersey-client-1.19.1.jar;C:\Users\hasee\.m2\repository_2020.02.11\com\sun\jersey\contribs\jersey-apache-client4\1.19.1\jersey-apache-client4-1.19.1.jar;C:\Users\hasee\.m2\repository_2020.02.11\org\apache\httpcomponents\httpclient\4.5.11\httpclient-4.5.11.jar;C:\Users\hasee\.m2\repository_2020.02.11\org\apache\httpcomponents\httpcore\4.4.13\httpcore-4.4.13.jar;C:\Users\hasee\.m2\repository_2020.02.11\commons-codec\commons-codec\1.13\commons-codec-1.13.jar;C:\Users\hasee\.m2\repository_2020.02.11\com\google\inject\guice\4.1.0\guice-4.1.0.jar;C:\Users\hasee\.m2\repository_2020.02.11\javax\inject\javax.inject\1\javax.inject-1.jar;C:\Users\hasee\.m2\repository_2020.02.11\aopalliance\aopalliance\1.0\aopalliance-1.0.jar;C:\Users\hasee\.m2\repository_2020.02.11\com\github\vlsi\compactmap\compactmap\1.2.1\compactmap-1.2.1.jar;C:\Users\hasee\.m2\repository_2020.02.11\com\github\andrewoma\dexx\dexx-collections\0.2\dexx-collections-0.2.jar;C:\Users\hasee\.m2\repository_2020.02.11\com\fasterxml\jackson\core\jackson-annotations\2.10.2\jackson-annotations-2.10.2.jar;C:\Users\hasee\.m2\repository_2020.02.11\com\fasterxml\jackson\core\jackson-core\2.10.2\jackson-core-2.10.2.jar;C:\Users\hasee\.m2\repository_2020.02.11\com\netflix\eureka\eureka-core\1.9.3\eureka-core-1.9.3.jar;C:\Users\hasee\.m2\repository_2020.02.11\org\codehaus\woodstox\woodstox-core-asl\4.4.1\woodstox-core-asl-4.4.1.jar;C:\Users\hasee\.m2\repository_2020.02.11\javax\xml\stream\stax-api\1.0-2\stax-api-1.0-2.jar;C:\Users\hasee\.m2\repository_2020.02.11\org\codehaus\woodstox\stax2-api\3.1.4\stax2-api-3.1.4.jar;C:\Users\hasee\.m2\repository_2020.02.11\org\springframework\cloud\spring-cloud-starter-netflix-archaius\2.0.2.RELEASE\spring-cloud-starter-netflix-archaius-2.0.2.RELEASE.jar;C:\Users\hasee\.m2\repository_2020.02.11\org\springframework\cloud\spring-cloud-netflix-ribbon\2.0.2.RELEASE\spring-cloud-netflix-ribbon-2.0.2.RELEASE.jar;C:\Users\hasee\.m2\repository_2020.02.11\org\springframework\cloud\spring-cloud-netflix-archaius\2.0.2.RELEASE\spring-cloud-netflix-archaius-2.0.2.RELEASE.jar;C:\Users\hasee\.m2\repository_2020.02.11\commons-configuration\commons-configuration\1.8\commons-configuration-1.8.jar;C:\Users\hasee\.m2\repository_2020.02.11\commons-lang\commons-lang\2.6\commons-lang-2.6.jar;C:\Users\hasee\.m2\repository_2020.02.11\org\springframework\cloud\spring-cloud-starter-netflix-ribbon\2.0.2.RELEASE\spring-cloud-starter-netflix-ribbon-2.0.2.RELEASE.jar;C:\Users\hasee\.m2\repository_2020.02.11\com\netflix\ribbon\ribbon\2.2.5\ribbon-2.2.5.jar;C:\Users\hasee\.m2\repository_2020.02.11\com\netflix\ribbon\ribbon-transport\2.2.5\ribbon-transport-2.2.5.jar;C:\Users\hasee\.m2\repository_2020.02.11\io\reactivex\rxnetty-contexts\0.4.9\rxnetty-contexts-0.4.9.jar;C:\Users\hasee\.m2\repository_2020.02.11\io\reactivex\rxnetty-servo\0.4.9\rxnetty-servo-0.4.9.jar;C:\Users\hasee\.m2\repository_2020.02.11\com\netflix\hystrix\hystrix-core\1.5.12\hystrix-core-1.5.12.jar;C:\Users\hasee\.m2\repository_2020.02.11\org\hdrhistogram\HdrHistogram\2.1.9\HdrHistogram-2.1.9.jar;C:\Users\hasee\.m2\repository_2020.02.11\io\reactivex\rxnetty\0.4.9\rxnetty-0.4.9.jar;C:\Users\hasee\.m2\repository_2020.02.11\com\netflix\ribbon\ribbon-core\2.2.5\ribbon-core-2.2.5.jar;C:\Users\hasee\.m2\repository_2020.02.11\com\netflix\ribbon\ribbon-httpclient\2.2.5\ribbon-httpclient-2.2.5.jar;C:\Users\hasee\.m2\repository_2020.02.11\commons-collections\commons-collections\3.2.2\commons-collections-3.2.2.jar;C:\Users\hasee\.m2\repository_2020.02.11\com\netflix\netflix-commons\netflix-commons-util\0.3.0\netflix-commons-util-0.3.0.jar;C:\Users\hasee\.m2\repository_2020.02.11\com\netflix\ribbon\ribbon-loadbalancer\2.2.5\ribbon-loadbalancer-2.2.5.jar;C:\Users\hasee\.m2\repository_2020.02.11\com\netflix\netflix-commons\netflix-statistics\0.1.1\netflix-statistics-0.1.1.jar;C:\Users\hasee\.m2\repository_2020.02.11\io\reactivex\rxjava\1.3.8\rxjava-1.3.8.jar;C:\Users\hasee\.m2\repository_2020.02.11\com\netflix\ribbon\ribbon-eureka\2.2.5\ribbon-eureka-2.2.5.jar;C:\Users\hasee\.m2\repository_2020.02.11\com\thoughtworks\xstream\xstream\1.4.10\xstream-1.4.10.jar;C:\Users\hasee\.m2\repository_2020.02.11\xmlpull\xmlpull\1.1.3.1\xmlpull-1.1.3.1.jar;C:\Users\hasee\.m2\repository_2020.02.11\xpp3\xpp3_min\1.1.4c\xpp3_min-1.1.4c.jar" cn.itcast.service.ItcastServiceProviderApplication
2020-03-26 15:01:02.272 INFO 12340 --- [ main] trationDelegate$BeanPostProcessorChecker : Bean 'configurationPropertiesRebinderAutoConfiguration' of type [org.springframework.cloud.autoconfigure.ConfigurationPropertiesRebinderAutoConfiguration$$EnhancerBySpringCGLIB$$a87661e] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
. ____ _ __ _ _
/\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \
( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \
\\/ ___)| |_)| | | | | || (_| | ) ) ) )
' |____| .__|_| |_|_| |_\__, | / / / /
=========|_|==============|___/=/_/_/_/
:: Spring Boot :: (v2.2.5.RELEASE)
2020-03-26 15:01:03.280 INFO 12340 --- [ main] c.i.s.ItcastServiceProviderApplication : No active profile set, falling back to default profiles: default
2020-03-26 15:01:03.694 WARN 12340 --- [ main] t.m.s.mapper.ClassPathMapperScanner : Skipping MapperFactoryBean with name 'empMapper' and 'cn.itcast.service.mapper.EmpMapper' mapperInterface. Bean already defined with the same name!
2020-03-26 15:01:03.694 WARN 12340 --- [ main] t.m.s.mapper.ClassPathMapperScanner : No MyBatis mapper was found in '[cn.itcast.service]' package. Please check your configuration.
2020-03-26 15:01:03.850 WARN 12340 --- [ main] o.m.s.mapper.ClassPathMapperScanner : Skipping MapperFactoryBean with name 'empMapper' and 'cn.itcast.service.mapper.EmpMapper' mapperInterface. Bean already defined with the same name!
2020-03-26 15:01:03.851 WARN 12340 --- [ main] o.m.s.mapper.ClassPathMapperScanner : No MyBatis mapper was found in '[cn.itcast.service]' package. Please check your configuration.
2020-03-26 15:01:03.871 WARN 12340 --- [ main] ConfigServletWebServerApplicationContext : Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.support.BeanDefinitionOverrideException: Invalid bean definition with name 'dataSource' defined in BeanDefinition defined in class path resource [org/springframework/boot/autoconfigure/jdbc/DataSourceConfiguration$Hikari.class]: Cannot register bean definition [Root bean: class [org.springframework.aop.scope.ScopedProxyFactoryBean]; scope=; abstract=false; lazyInit=null; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in BeanDefinition defined in class path resource [org/springframework/boot/autoconfigure/jdbc/DataSourceConfiguration$Hikari.class]] for bean 'dataSource': There is already [Root bean: class [null]; scope=refresh; abstract=false; lazyInit=null; autowireMode=3; dependencyCheck=0; autowireCandidate=false; primary=false; factoryBeanName=org.springframework.boot.autoconfigure.jdbc.DataSourceConfiguration$Hikari; factoryMethodName=dataSource; initMethodName=null; destroyMethodName=(inferred); defined in class path resource [org/springframework/boot/autoconfigure/jdbc/DataSourceConfiguration$Hikari.class]] bound.
2020-03-26 15:01:03.880 INFO 12340 --- [ main] ConditionEvaluationReportLoggingListener :
Error starting ApplicationContext. To display the conditions report re-run your application with 'debug' enabled.
2020-03-26 15:01:03.882 ERROR 12340 --- [ main] o.s.b.d.LoggingFailureAnalysisReporter :
***************************
APPLICATION FAILED TO START
***************************
Description:
The bean 'dataSource', defined in BeanDefinition defined in class path resource [org/springframework/boot/autoconfigure/jdbc/DataSourceConfiguration$Hikari.class], could not be registered. A bean with that name has already been defined in class path resource [org/springframework/boot/autoconfigure/jdbc/DataSourceConfiguration$Hikari.class] and overriding is disabled.
Action:
Consider renaming one of the beans or enabling overriding by setting spring.main.allow-bean-definition-overriding=true
Process finished with exit code 1
原因是因为 spring-boot版本和spring-clound版本对应不上
部分版本对应如下
"spring-cloud": {
"Finchley.M2": "Spring Boot >=2.0.0.M3 and <2.0.0.M5",
"Finchley.M3": "Spring Boot >=2.0.0.M5 and <=2.0.0.M5",
"Finchley.M4": "Spring Boot >=2.0.0.M6 and <=2.0.0.M6",
"Finchley.M5": "Spring Boot >=2.0.0.M7 and <=2.0.0.M7",
"Finchley.M6": "Spring Boot >=2.0.0.RC1 and <=2.0.0.RC1",
"Finchley.M7": "Spring Boot >=2.0.0.RC2 and <=2.0.0.RC2",
"Finchley.M9": "Spring Boot >=2.0.0.RELEASE and <=2.0.0.RELEASE",
"Finchley.RC1": "Spring Boot >=2.0.1.RELEASE and <2.0.2.RELEASE",
"Finchley.RC2": "Spring Boot >=2.0.2.RELEASE and <2.0.3.RELEASE",
"Finchley.SR4": "Spring Boot >=2.0.3.RELEASE and <2.0.999.BUILD-SNAPSHOT",
"Finchley.BUILD-SNAPSHOT": "Spring Boot >=2.0.999.BUILD-SNAPSHOT and <2.1.0.M3",
"Greenwich.M1": "Spring Boot >=2.1.0.M3 and <2.1.0.RELEASE",
"Greenwich.SR5": "Spring Boot >=2.1.0.RELEASE and <2.1.14.BUILD-SNAPSHOT",
"Greenwich.BUILD-SNAPSHOT": "Spring Boot >=2.1.14.BUILD-SNAPSHOT and <2.2.0.M4",
"Hoxton.SR1": "Spring Boot >=2.2.0.M4 and <2.2.6.BUILD-SNAPSHOT",
"Hoxton.BUILD-SNAPSHOT": "Spring Boot >=2.2.6.BUILD-SNAPSHOT and <2.3.0.M1"
},
spring-boot版本为2.2.5.RELEASE,所以对应的spring-clound版本为 Hoxton.SR1