baomidou / dynamic-datasource

dynamic datasource for springboot 多数据源 动态数据源 主从分离 读写分离 分布式事务
https://www.kancloud.cn/tracy5546/dynamic-datasource/2264611
Apache License 2.0
4.71k stars 1.19k forks source link

Spring Boot 3.0.0-M5 Failed to configure a DataSource: 'url' attribute is not specified and no embedded datasource could be configured. #453

Closed xuxiaowei-com-cn closed 2 years ago

xuxiaowei-com-cn commented 2 years ago

Please fill it out carefully, or it will be closed. 请认真填写,不然会直接关闭。

Enviroment

JDK Version(required):

SpringBoot Version(required): 3.0.0-M5

dynamic-datasource-spring-boot-starter Version(required): 3.5.2

druid Version(optional): hikari 5.0.1

Describe what happened

使用 Spring Boot 3.0.0-M4 运行项目正常,使用 Spring Boot 3.0.0-M5 运行项目报错,错误内如见下方。

Expected Result:

Actual Result:

If there is an exception,or aop invalid,please attach the exception trace:

以下是使用 Spring Boot 3.0.0-M5 运行时的错误

"D:\Program Files\dragonwell-17.0.3.0.3+7-GA\bin\java.exe" -agentlib:jdwp=transport=dt_socket,address=127.0.0.1:62731,suspend=y,server=n -XX:TieredStopAtLevel=1 -Dspring.output.ansi.enabled=always -Dcom.sun.management.jmxremote -Dspring.jmx.enabled=true -Dspring.liveBeansView.mbeanDomain -Dspring.application.admin.enabled=true -javaagent:D:\JetBrains\Toolbox\apps\IDEA-U\ch-0\222.4345.14\plugins\java\lib\rt\debugger-agent.jar=file:/C:/Users/xuxiaowei/AppData/Local/Temp/capture.props -Dfile.encoding=UTF-8 -classpath D:\IdeaProjects\xuxiaowei-cloud-next-2\passport\target\classes;D:\IdeaProjects\xuxiaowei-cloud-next-2\cloud-commons-parent\cloud-starter-system\target\classes;D:\IdeaProjects\xuxiaowei-cloud-next-2\cloud-commons-parent\cloud-starter-log\target\classes;D:\IdeaProjects\xuxiaowei-cloud-next-2\cloud-commons-parent\cloud-starter-validation\target\classes;D:\Apache\apache-maven-3.6.3-repo\com\google\guava\guava\31.1-jre\guava-31.1-jre.jar;D:\Apache\apache-maven-3.6.3-repo\com\google\guava\failureaccess\1.0.1\failureaccess-1.0.1.jar;D:\Apache\apache-maven-3.6.3-repo\com\google\guava\listenablefuture\9999.0-empty-to-avoid-conflict-with-guava\listenablefuture-9999.0-empty-to-avoid-conflict-with-guava.jar;D:\Apache\apache-maven-3.6.3-repo\com\google\code\findbugs\jsr305\3.0.2\jsr305-3.0.2.jar;D:\Apache\apache-maven-3.6.3-repo\org\checkerframework\checker-qual\3.12.0\checker-qual-3.12.0.jar;D:\Apache\apache-maven-3.6.3-repo\com\google\errorprone\error_prone_annotations\2.11.0\error_prone_annotations-2.11.0.jar;D:\Apache\apache-maven-3.6.3-repo\com\google\j2objc\j2objc-annotations\1.3\j2objc-annotations-1.3.jar;D:\Apache\apache-maven-3.6.3-repo\org\springframework\boot\spring-boot-starter-validation\3.0.0-M5\spring-boot-starter-validation-3.0.0-M5.jar;D:\Apache\apache-maven-3.6.3-repo\org\hibernate\validator\hibernate-validator\7.0.5.Final\hibernate-validator-7.0.5.Final.jar;D:\Apache\apache-maven-3.6.3-repo\jakarta\validation\jakarta.validation-api\3.0.2\jakarta.validation-api-3.0.2.jar;D:\Apache\apache-maven-3.6.3-repo\org\jboss\logging\jboss-logging\3.5.0.Final\jboss-logging-3.5.0.Final.jar;D:\Apache\apache-maven-3.6.3-repo\com\fasterxml\classmate\1.5.1\classmate-1.5.1.jar;D:\Apache\apache-maven-3.6.3-repo\commons-io\commons-io\2.11.0\commons-io-2.11.0.jar;D:\Apache\apache-maven-3.6.3-repo\org\springframework\spring-webmvc\6.0.0-M6\spring-webmvc-6.0.0-M6.jar;D:\Apache\apache-maven-3.6.3-repo\org\springframework\spring-aop\6.0.0-M6\spring-aop-6.0.0-M6.jar;D:\Apache\apache-maven-3.6.3-repo\org\springframework\spring-beans\6.0.0-M6\spring-beans-6.0.0-M6.jar;D:\Apache\apache-maven-3.6.3-repo\org\springframework\spring-context\6.0.0-M6\spring-context-6.0.0-M6.jar;D:\Apache\apache-maven-3.6.3-repo\org\springframework\spring-expression\6.0.0-M6\spring-expression-6.0.0-M6.jar;D:\Apache\apache-maven-3.6.3-repo\org\springframework\boot\spring-boot-starter-aop\3.0.0-M5\spring-boot-starter-aop-3.0.0-M5.jar;D:\Apache\apache-maven-3.6.3-repo\org\aspectj\aspectjweaver\1.9.9.1\aspectjweaver-1.9.9.1.jar;D:\Apache\apache-maven-3.6.3-repo\org\springframework\boot\spring-boot-starter-mail\3.0.0-M5\spring-boot-starter-mail-3.0.0-M5.jar;D:\Apache\apache-maven-3.6.3-repo\org\springframework\spring-context-support\6.0.0-M6\spring-context-support-6.0.0-M6.jar;D:\Apache\apache-maven-3.6.3-repo\com\sun\mail\jakarta.mail\2.0.1\jakarta.mail-2.0.1.jar;D:\Apache\apache-maven-3.6.3-repo\org\springframework\security\spring-security-oauth2-jose\6.0.0-M7\spring-security-oauth2-jose-6.0.0-M7.jar;D:\Apache\apache-maven-3.6.3-repo\org\springframework\security\spring-security-core\6.0.0-M7\spring-security-core-6.0.0-M7.jar;D:\Apache\apache-maven-3.6.3-repo\org\springframework\security\spring-security-crypto\6.0.0-M7\spring-security-crypto-6.0.0-M7.jar;D:\IdeaProjects\xuxiaowei-cloud-next-2\utils\target\classes;D:\IdeaProjects\xuxiaowei-cloud-next-2\cloud-commons-parent\cloud-starter-session-redis\target\classes;D:\IdeaProjects\xuxiaowei-cloud-next-2\cloud-commons-parent\cloud-starter-core\target\classes;D:\IdeaProjects\xuxiaowei-cloud-next-2\cloud-commons-parent\cloud-starter-redis\target\classes;D:\Apache\apache-maven-3.6.3-repo\org\springframework\boot\spring-boot-starter-data-redis\3.0.0-M5\spring-boot-starter-data-redis-3.0.0-M5.jar;D:\Apache\apache-maven-3.6.3-repo\io\lettuce\lettuce-core\6.2.0.RELEASE\lettuce-core-6.2.0.RELEASE.jar;D:\Apache\apache-maven-3.6.3-repo\io\netty\netty-common\4.1.82.Final\netty-common-4.1.82.Final.jar;D:\Apache\apache-maven-3.6.3-repo\io\netty\netty-handler\4.1.82.Final\netty-handler-4.1.82.Final.jar;D:\Apache\apache-maven-3.6.3-repo\io\netty\netty-resolver\4.1.82.Final\netty-resolver-4.1.82.Final.jar;D:\Apache\apache-maven-3.6.3-repo\io\netty\netty-buffer\4.1.82.Final\netty-buffer-4.1.82.Final.jar;D:\Apache\apache-maven-3.6.3-repo\io\netty\netty-transport-native-unix-common\4.1.82.Final\netty-transport-native-unix-common-4.1.82.Final.jar;D:\Apache\apache-maven-3.6.3-repo\io\netty\netty-codec\4.1.82.Final\netty-codec-4.1.82.Final.jar;D:\Apache\apache-maven-3.6.3-repo\io\netty\netty-transport\4.1.82.Final\netty-transport-4.1.82.Final.jar;D:\Apache\apache-maven-3.6.3-repo\org\springframework\session\spring-session-data-redis\3.0.0-M4\spring-session-data-redis-3.0.0-M4.jar;D:\Apache\apache-maven-3.6.3-repo\org\springframework\session\spring-session-core\3.0.0-M4\spring-session-core-3.0.0-M4.jar;D:\Apache\apache-maven-3.6.3-repo\org\springframework\data\spring-data-redis\3.0.0-M6\spring-data-redis-3.0.0-M6.jar;D:\Apache\apache-maven-3.6.3-repo\org\springframework\data\spring-data-keyvalue\3.0.0-M6\spring-data-keyvalue-3.0.0-M6.jar;D:\Apache\apache-maven-3.6.3-repo\org\springframework\data\spring-data-commons\3.0.0-M6\spring-data-commons-3.0.0-M6.jar;D:\Apache\apache-maven-3.6.3-repo\org\springframework\spring-tx\6.0.0-M6\spring-tx-6.0.0-M6.jar;D:\Apache\apache-maven-3.6.3-repo\org\springframework\spring-oxm\6.0.0-M6\spring-oxm-6.0.0-M6.jar;D:\Apache\apache-maven-3.6.3-repo\org\springframework\security\spring-security-web\6.0.0-M7\spring-security-web-6.0.0-M7.jar;D:\Apache\apache-maven-3.6.3-repo\org\apache\tomcat\embed\tomcat-embed-core\10.0.23\tomcat-embed-core-10.0.23.jar;D:\Apache\apache-maven-3.6.3-repo\org\apache\tomcat\tomcat-annotations-api\10.0.23\tomcat-annotations-api-10.0.23.jar;D:\IdeaProjects\xuxiaowei-cloud-next-2\cloud-commons-parent\cloud-starter-oauth2\target\classes;D:\IdeaProjects\xuxiaowei-cloud-next-2\cloud-commons-parent\cloud-starter-mybatis\target\classes;D:\Apache\apache-maven-3.6.3-repo\org\mybatis\spring\boot\mybatis-spring-boot-starter\2.3.0-SNAPSHOT\mybatis-spring-boot-starter-2.3.0-20221010.161036-52.jar;D:\Apache\apache-maven-3.6.3-repo\org\mybatis\spring\boot\mybatis-spring-boot-autoconfigure\2.3.0-SNAPSHOT\mybatis-spring-boot-autoconfigure-2.3.0-20221010.161036-52.jar;D:\Apache\apache-maven-3.6.3-repo\org\mybatis\mybatis\3.5.11\mybatis-3.5.11.jar;D:\Apache\apache-maven-3.6.3-repo\org\mybatis\mybatis-spring\2.1.0-SNAPSHOT\mybatis-spring-2.1.0-20221015.025306-44.jar;D:\Apache\apache-maven-3.6.3-repo\com\baomidou\mybatis-plus-boot-starter\3.5.2\mybatis-plus-boot-starter-3.5.2.jar;D:\Apache\apache-maven-3.6.3-repo\com\baomidou\mybatis-plus\3.5.2\mybatis-plus-3.5.2.jar;D:\Apache\apache-maven-3.6.3-repo\org\jetbrains\kotlin\kotlin-stdlib-jdk8\1.7.10\kotlin-stdlib-jdk8-1.7.10.jar;D:\Apache\apache-maven-3.6.3-repo\org\jetbrains\kotlin\kotlin-stdlib\1.7.10\kotlin-stdlib-1.7.10.jar;D:\Apache\apache-maven-3.6.3-repo\org\jetbrains\kotlin\kotlin-stdlib-common\1.7.10\kotlin-stdlib-common-1.7.10.jar;D:\Apache\apache-maven-3.6.3-repo\org\jetbrains\annotations\13.0\annotations-13.0.jar;D:\Apache\apache-maven-3.6.3-repo\org\jetbrains\kotlin\kotlin-stdlib-jdk7\1.7.10\kotlin-stdlib-jdk7-1.7.10.jar;D:\Apache\apache-maven-3.6.3-repo\com\baomidou\dynamic-datasource-spring-boot-starter\3.5.2\dynamic-datasource-spring-boot-starter-3.5.2.jar;D:\Apache\apache-maven-3.6.3-repo\org\springframework\boot\spring-boot-starter-jdbc\3.0.0-M5\spring-boot-starter-jdbc-3.0.0-M5.jar;D:\Apache\apache-maven-3.6.3-repo\com\zaxxer\HikariCP\5.0.1\HikariCP-5.0.1.jar;D:\Apache\apache-maven-3.6.3-repo\org\springframework\spring-jdbc\6.0.0-M6\spring-jdbc-6.0.0-M6.jar;D:\Apache\apache-maven-3.6.3-repo\mysql\mysql-connector-java\8.0.30\mysql-connector-java-8.0.30.jar;D:\Apache\apache-maven-3.6.3-repo\com\baomidou\mybatis-plus-extension\3.5.2\mybatis-plus-extension-3.5.2.jar;D:\Apache\apache-maven-3.6.3-repo\com\baomidou\mybatis-plus-core\3.5.2\mybatis-plus-core-3.5.2.jar;D:\Apache\apache-maven-3.6.3-repo\com\baomidou\mybatis-plus-annotation\3.5.2\mybatis-plus-annotation-3.5.2.jar;D:\Apache\apache-maven-3.6.3-repo\com\github\jsqlparser\jsqlparser\4.4\jsqlparser-4.4.jar;D:\Apache\apache-maven-3.6.3-repo\org\springframework\boot\spring-boot-starter-oauth2-resource-server\3.0.0-M5\spring-boot-starter-oauth2-resource-server-3.0.0-M5.jar;D:\IdeaProjects\xuxiaowei-cloud-next-2\cloud-commons-parent\cloud-starter-loadbalancer\target\classes;D:\Apache\apache-maven-3.6.3-repo\org\springframework\spring-web\6.0.0-M6\spring-web-6.0.0-M6.jar;D:\Apache\apache-maven-3.6.3-repo\org\springframework\cloud\spring-cloud-starter-loadbalancer\4.0.0-M4\spring-cloud-starter-loadbalancer-4.0.0-M4.jar;D:\Apache\apache-maven-3.6.3-repo\org\springframework\cloud\spring-cloud-loadbalancer\4.0.0-M4\spring-cloud-loadbalancer-4.0.0-M4.jar;D:\Apache\apache-maven-3.6.3-repo\io\projectreactor\reactor-core\3.5.0-M6\reactor-core-3.5.0-M6.jar;D:\Apache\apache-maven-3.6.3-repo\org\reactivestreams\reactive-streams\1.0.4\reactive-streams-1.0.4.jar;D:\Apache\apache-maven-3.6.3-repo\io\projectreactor\addons\reactor-extra\3.5.0-M6\reactor-extra-3.5.0-M6.jar;D:\Apache\apache-maven-3.6.3-repo\org\springframework\boot\spring-boot-starter-cache\3.0.0-M5\spring-boot-starter-cache-3.0.0-M5.jar;D:\Apache\apache-maven-3.6.3-repo\com\stoyanr\evictor\1.0.0\evictor-1.0.0.jar;D:\Apache\apache-maven-3.6.3-repo\org\springframework\boot\spring-boot-starter-web\3.0.0-M5\spring-boot-starter-web-3.0.0-M5.jar;D:\Apache\apache-maven-3.6.3-repo\org\springframework\boot\spring-boot-starter\3.0.0-M5\spring-boot-starter-3.0.0-M5.jar;D:\Apache\apache-maven-3.6.3-repo\org\springframework\boot\spring-boot\3.0.0-M5\spring-boot-3.0.0-M5.jar;D:\Apache\apache-maven-3.6.3-repo\org\springframework\boot\spring-boot-autoconfigure\3.0.0-M5\spring-boot-autoconfigure-3.0.0-M5.jar;D:\Apache\apache-maven-3.6.3-repo\org\springframework\boot\spring-boot-starter-logging\3.0.0-M5\spring-boot-starter-logging-3.0.0-M5.jar;D:\Apache\apache-maven-3.6.3-repo\ch\qos\logback\logback-classic\1.2.11\logback-classic-1.2.11.jar;D:\Apache\apache-maven-3.6.3-repo\ch\qos\logback\logback-core\1.2.11\logback-core-1.2.11.jar;D:\Apache\apache-maven-3.6.3-repo\org\apache\logging\log4j\log4j-to-slf4j\2.18.0\log4j-to-slf4j-2.18.0.jar;D:\Apache\apache-maven-3.6.3-repo\org\apache\logging\log4j\log4j-api\2.18.0\log4j-api-2.18.0.jar;D:\Apache\apache-maven-3.6.3-repo\org\slf4j\jul-to-slf4j\1.7.36\jul-to-slf4j-1.7.36.jar;D:\Apache\apache-maven-3.6.3-repo\jakarta\annotation\jakarta.annotation-api\2.0.0\jakarta.annotation-api-2.0.0.jar;D:\Apache\apache-maven-3.6.3-repo\org\yaml\snakeyaml\1.32\snakeyaml-1.32.jar;D:\Apache\apache-maven-3.6.3-repo\org\springframework\boot\spring-boot-starter-json\3.0.0-M5\spring-boot-starter-json-3.0.0-M5.jar;D:\Apache\apache-maven-3.6.3-repo\com\fasterxml\jackson\datatype\jackson-datatype-jdk8\2.13.4\jackson-datatype-jdk8-2.13.4.jar;D:\Apache\apache-maven-3.6.3-repo\com\fasterxml\jackson\datatype\jackson-datatype-jsr310\2.13.4\jackson-datatype-jsr310-2.13.4.jar;D:\Apache\apache-maven-3.6.3-repo\com\fasterxml\jackson\module\jackson-module-parameter-names\2.13.4\jackson-module-parameter-names-2.13.4.jar;D:\Apache\apache-maven-3.6.3-repo\org\springframework\boot\spring-boot-starter-tomcat\3.0.0-M5\spring-boot-starter-tomcat-3.0.0-M5.jar;D:\Apache\apache-maven-3.6.3-repo\org\apache\tomcat\embed\tomcat-embed-el\10.0.23\tomcat-embed-el-10.0.23.jar;D:\Apache\apache-maven-3.6.3-repo\org\apache\tomcat\embed\tomcat-embed-websocket\10.0.23\tomcat-embed-websocket-10.0.23.jar;D:\Apache\apache-maven-3.6.3-repo\org\springframework\boot\spring-boot-starter-thymeleaf\3.0.0-M5\spring-boot-starter-thymeleaf-3.0.0-M5.jar;D:\Apache\apache-maven-3.6.3-repo\org\thymeleaf\thymeleaf-spring6\3.1.0.M2\thymeleaf-spring6-3.1.0.M2.jar;D:\Apache\apache-maven-3.6.3-repo\org\thymeleaf\thymeleaf\3.1.0.M2\thymeleaf-3.1.0.M2.jar;D:\Apache\apache-maven-3.6.3-repo\org\attoparser\attoparser\2.0.5.RELEASE\attoparser-2.0.5.RELEASE.jar;D:\Apache\apache-maven-3.6.3-repo\org\unbescape\unbescape\1.1.6.RELEASE\unbescape-1.1.6.RELEASE.jar;D:\Apache\apache-maven-3.6.3-repo\org\slf4j\slf4j-api\1.7.36\slf4j-api-1.7.36.jar;D:\Apache\apache-maven-3.6.3-repo\org\thymeleaf\extras\thymeleaf-extras-java8time\3.0.4.RELEASE\thymeleaf-extras-java8time-3.0.4.RELEASE.jar;D:\Apache\apache-maven-3.6.3-repo\org\springframework\security\spring-security-oauth2-authorization-server\1.0.0-M2\spring-security-oauth2-authorization-server-1.0.0-M2.jar;D:\Apache\apache-maven-3.6.3-repo\org\springframework\security\spring-security-config\6.0.0-M7\spring-security-config-6.0.0-M7.jar;D:\Apache\apache-maven-3.6.3-repo\org\springframework\security\spring-security-oauth2-core\6.0.0-M7\spring-security-oauth2-core-6.0.0-M7.jar;D:\Apache\apache-maven-3.6.3-repo\org\springframework\security\spring-security-oauth2-resource-server\6.0.0-M7\spring-security-oauth2-resource-server-6.0.0-M7.jar;D:\Apache\apache-maven-3.6.3-repo\org\springframework\spring-core\6.0.0-M6\spring-core-6.0.0-M6.jar;D:\Apache\apache-maven-3.6.3-repo\org\springframework\spring-jcl\6.0.0-M6\spring-jcl-6.0.0-M6.jar;D:\Apache\apache-maven-3.6.3-repo\com\nimbusds\nimbus-jose-jwt\9.24.4\nimbus-jose-jwt-9.24.4.jar;D:\Apache\apache-maven-3.6.3-repo\com\github\stephenc\jcip\jcip-annotations\1.0-1\jcip-annotations-1.0-1.jar;D:\Apache\apache-maven-3.6.3-repo\com\fasterxml\jackson\core\jackson-databind\2.13.4\jackson-databind-2.13.4.jar;D:\Apache\apache-maven-3.6.3-repo\com\fasterxml\jackson\core\jackson-annotations\2.13.4\jackson-annotations-2.13.4.jar;D:\Apache\apache-maven-3.6.3-repo\com\fasterxml\jackson\core\jackson-core\2.13.4\jackson-core-2.13.4.jar;D:\Apache\apache-maven-3.6.3-repo\cn\com\xuxiaowei\boot\next\spring-boot-starter-wechat-miniprogram\0.1.0-SNAPSHOT\spring-boot-starter-wechat-miniprogram-0.1.0-20221013.014756-7.jar;D:\Apache\apache-maven-3.6.3-repo\p6spy\p6spy\3.9.1\p6spy-3.9.1.jar;D:\Apache\apache-maven-3.6.3-repo\cn\hutool\hutool-all\5.8.8\hutool-all-5.8.8.jar;D:\Apache\apache-maven-3.6.3-repo\org\springframework\cloud\spring-cloud-starter-consul-config\4.0.0-M4\spring-cloud-starter-consul-config-4.0.0-M4.jar;D:\Apache\apache-maven-3.6.3-repo\org\springframework\cloud\spring-cloud-starter-consul\4.0.0-M4\spring-cloud-starter-consul-4.0.0-M4.jar;D:\Apache\apache-maven-3.6.3-repo\org\springframework\cloud\spring-cloud-consul-core\4.0.0-M4\spring-cloud-consul-core-4.0.0-M4.jar;D:\Apache\apache-maven-3.6.3-repo\com\ecwid\consul\consul-api\1.4.5\consul-api-1.4.5.jar;D:\Apache\apache-maven-3.6.3-repo\com\google\code\gson\gson\2.9.1\gson-2.9.1.jar;D:\Apache\apache-maven-3.6.3-repo\org\apache\httpcomponents\httpclient\4.5.13\httpclient-4.5.13.jar;D:\Apache\apache-maven-3.6.3-repo\commons-codec\commons-codec\1.15\commons-codec-1.15.jar;D:\Apache\apache-maven-3.6.3-repo\org\apache\httpcomponents\httpcore\4.4.15\httpcore-4.4.15.jar;D:\Apache\apache-maven-3.6.3-repo\org\springframework\cloud\spring-cloud-consul-config\4.0.0-M4\spring-cloud-consul-config-4.0.0-M4.jar;D:\Apache\apache-maven-3.6.3-repo\org\springframework\cloud\spring-cloud-commons\4.0.0-M4\spring-cloud-commons-4.0.0-M4.jar;D:\Apache\apache-maven-3.6.3-repo\org\springframework\cloud\spring-cloud-starter-consul-discovery\4.0.0-M4\spring-cloud-starter-consul-discovery-4.0.0-M4.jar;D:\Apache\apache-maven-3.6.3-repo\org\springframework\cloud\spring-cloud-consul-discovery\4.0.0-M4\spring-cloud-consul-discovery-4.0.0-M4.jar;D:\Apache\apache-maven-3.6.3-repo\org\springframework\cloud\spring-cloud-starter-bootstrap\4.0.0-M4\spring-cloud-starter-bootstrap-4.0.0-M4.jar;D:\Apache\apache-maven-3.6.3-repo\org\springframework\cloud\spring-cloud-starter\4.0.0-M4\spring-cloud-starter-4.0.0-M4.jar;D:\Apache\apache-maven-3.6.3-repo\org\springframework\cloud\spring-cloud-context\4.0.0-M4\spring-cloud-context-4.0.0-M4.jar;D:\Apache\apache-maven-3.6.3-repo\org\springframework\security\spring-security-rsa\1.0.11.RELEASE\spring-security-rsa-1.0.11.RELEASE.jar;D:\Apache\apache-maven-3.6.3-repo\org\bouncycastle\bcpkix-jdk15on\1.69\bcpkix-jdk15on-1.69.jar;D:\Apache\apache-maven-3.6.3-repo\org\bouncycastle\bcprov-jdk15on\1.69\bcprov-jdk15on-1.69.jar;D:\Apache\apache-maven-3.6.3-repo\org\bouncycastle\bcutil-jdk15on\1.69\bcutil-jdk15on-1.69.jar;D:\Apache\apache-maven-3.6.3-repo\org\springframework\boot\spring-boot-starter-actuator\3.0.0-M5\spring-boot-starter-actuator-3.0.0-M5.jar;D:\Apache\apache-maven-3.6.3-repo\org\springframework\boot\spring-boot-actuator-autoconfigure\3.0.0-M5\spring-boot-actuator-autoconfigure-3.0.0-M5.jar;D:\Apache\apache-maven-3.6.3-repo\org\springframework\boot\spring-boot-actuator\3.0.0-M5\spring-boot-actuator-3.0.0-M5.jar;D:\Apache\apache-maven-3.6.3-repo\io\micrometer\micrometer-observation\1.10.0-M6\micrometer-observation-1.10.0-M6.jar;D:\Apache\apache-maven-3.6.3-repo\io\micrometer\micrometer-commons\1.10.0-M6\micrometer-commons-1.10.0-M6.jar;D:\Apache\apache-maven-3.6.3-repo\io\micrometer\micrometer-core\1.10.0-M6\micrometer-core-1.10.0-M6.jar;D:\Apache\apache-maven-3.6.3-repo\org\hdrhistogram\HdrHistogram\2.1.12\HdrHistogram-2.1.12.jar;D:\Apache\apache-maven-3.6.3-repo\org\latencyutils\LatencyUtils\2.0.3\LatencyUtils-2.0.3.jar;D:\Apache\apache-maven-3.6.3-repo\org\projectlombok\lombok\1.18.24\lombok-1.18.24.jar;D:\Apache\apache-maven-3.6.3-repo\com\sun\activation\jakarta.activation\2.0.1\jakarta.activation-2.0.1.jar;D:\JetBrains\Toolbox\apps\IDEA-U\ch-0\222.4345.14\lib\idea_rt.jar cloud.xuxiaowei.next.passport.PassportApplication
Connected to the target VM, address: '127.0.0.1:62731', transport: 'socket'

  .   ____          _            __ _ _
 /\\ / ___'_ __ _ _(_)_ __  __ _ \ \ \ \
( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \
 \\/  ___)| |_)| | | | | || (_| |  ) ) ) )
  '  |____| .__|_| |_|_| |_\__, | / / / /
 =========|_|==============|___/=/_/_/_/
 :: Spring Boot ::             (v3.0.0-M5)

2022-10-16 11:54:45.118 - INFO 6040 --- [           main] b.c.PropertySourceBootstrapConfiguration :  :  :  :  : Located property source: [BootstrapPropertySource {name='bootstrapProperties-config/passport,dev/'}, BootstrapPropertySource {name='bootstrapProperties-config/passport/'}, BootstrapPropertySource {name='bootstrapProperties-config/application,dev/'}, BootstrapPropertySource {name='bootstrapProperties-config/application/'}]
-2022-10-16 11:54:45.144 - INFO 6040 --- [           main] c.x.next.passport.PassportApplication    :  :  :  :  : The following 1 profile is active: "dev"
-2022-10-16 11:54:45.392 - WARN 6040 --- [           main] o.s.c.annotation.AnnotationTypeMapping   :  :  :  :  : Support for convention-based annotation attribute overrides is deprecated and will be removed in Spring Framework 6.1. Please annotate the 'proxyMode' attribute in @org.springframework.cloud.context.config.annotation.RefreshScope with an appropriate @AliasFor declaration -- for example, @AliasFor(annotation = org.springframework.context.annotation.Scope.class).
-2022-10-16 11:54:47.049 - INFO 6040 --- [           main] .s.d.r.c.RepositoryConfigurationDelegate :  :  :  :  : Multiple Spring Data modules found, entering strict repository configuration mode
-2022-10-16 11:54:47.053 - INFO 6040 --- [           main] .s.d.r.c.RepositoryConfigurationDelegate :  :  :  :  : Bootstrapping Spring Data Redis repositories in DEFAULT mode.
-2022-10-16 11:54:47.084 - INFO 6040 --- [           main] .s.d.r.c.RepositoryConfigurationDelegate :  :  :  :  : Finished Spring Data repository scanning in 14 ms. Found 0 Redis repository interfaces.
-2022-10-16 11:54:48.326 - INFO 6040 --- [           main] o.s.b.w.embedded.tomcat.TomcatWebServer  :  :  :  :  : Tomcat initialized with port(s): 1401 (http)
-2022-10-16 11:54:48.339 - INFO 6040 --- [           main] o.apache.catalina.core.StandardService   :  :  :  :  : Starting service [Tomcat]
-2022-10-16 11:54:48.340 - INFO 6040 --- [           main] org.apache.catalina.core.StandardEngine  :  :  :  :  : Starting Servlet engine: [Apache Tomcat/10.0.23]
-2022-10-16 11:54:48.447 - INFO 6040 --- [           main] o.a.c.c.C.[Tomcat].[localhost].[/]       :  :  :  :  : Initializing Spring embedded WebApplicationContext
-2022-10-16 11:54:48.448 - INFO 6040 --- [           main] w.s.c.ServletWebServerApplicationContext :  :  :  :  : Root WebApplicationContext: initialization completed in 3289 ms
-2022-10-16 11:54:48.566 -ERROR 6040 --- [           main] o.s.b.web.embedded.tomcat.TomcatStarter  :  :  :  :  : Error starting Tomcat context. Exception: org.springframework.beans.factory.UnsatisfiedDependencyException. Message: Error creating bean with name 'webMvcMetricsFilter' defined in class path resource [org/springframework/boot/actuate/autoconfigure/metrics/web/servlet/WebMvcMetricsAutoConfiguration.class]: Unsatisfied dependency expressed through method 'webMvcMetricsFilter' parameter 0: Error creating bean with name 'simpleMeterRegistry' defined in class path resource [org/springframework/boot/actuate/autoconfigure/metrics/export/simple/SimpleMetricsExportAutoConfiguration.class]: Error creating bean with name 'dataSourcePoolMetadataMeterBinder' defined in class path resource [org/springframework/boot/actuate/autoconfigure/metrics/jdbc/DataSourcePoolMetricsAutoConfiguration$DataSourcePoolMetadataMetricsConfiguration.class]: Unsatisfied dependency expressed through method 'dataSourcePoolMetadataMeterBinder' parameter 0: Error creating bean with name 'dataSource' defined in class path resource [org/springframework/boot/autoconfigure/jdbc/DataSourceConfiguration$Hikari.class]: Failed to instantiate [com.zaxxer.hikari.HikariDataSource]: Failed to determine a suitable driver class
-2022-10-16 11:54:48.604 - INFO 6040 --- [           main] o.apache.catalina.core.StandardService   :  :  :  :  : Stopping service [Tomcat]
-2022-10-16 11:54:48.615 - WARN 6040 --- [           main] ConfigServletWebServerApplicationContext :  :  :  :  : Exception encountered during context initialization - cancelling refresh attempt: org.springframework.context.ApplicationContextException: Unable to start web server
-2022-10-16 11:54:48.629 - INFO 6040 --- [           main] ConditionEvaluationReportLoggingListener :  :  :  :  : 

Error starting ApplicationContext. To display the conditions report re-run your application with 'debug' enabled.
-2022-10-16 11:54:48.657 -ERROR 6040 --- [           main] o.s.b.d.LoggingFailureAnalysisReporter   :  :  :  :  : 

***************************
APPLICATION FAILED TO START
***************************

Description:

Failed to configure a DataSource: 'url' attribute is not specified and no embedded datasource could be configured.

Reason: Failed to determine a suitable driver class

Action:

Consider the following:
    If you want an embedded database (H2, HSQL or Derby), please put it on the classpath.
    If you have database settings to be loaded from a particular profile you may need to activate it (the profiles dev are currently active).

-Disconnected from the target VM, address: '127.0.0.1:62731', transport: 'socket'

Process finished with exit code 1

Steps to reproduce

xuxiaowei-com-cn commented 2 years ago

使用 Spring Boot 3.0.0-M4 运行结果:

"D:\Program Files\dragonwell-17.0.3.0.3+7-GA\bin\java.exe" -agentlib:jdwp=transport=dt_socket,address=127.0.0.1:63273,suspend=y,server=n -XX:TieredStopAtLevel=1 -Dspring.output.ansi.enabled=always -Dcom.sun.management.jmxremote -Dspring.jmx.enabled=true -Dspring.liveBeansView.mbeanDomain -Dspring.application.admin.enabled=true -javaagent:D:\JetBrains\Toolbox\apps\IDEA-U\ch-0\222.4345.14\plugins\java\lib\rt\debugger-agent.jar=file:/C:/Users/xuxiaowei/AppData/Local/Temp/capture.props -Dfile.encoding=UTF-8 -classpath D:\IdeaProjects\xuxiaowei-cloud-next-2\passport\target\classes;D:\IdeaProjects\xuxiaowei-cloud-next-2\cloud-commons-parent\cloud-starter-system\target\classes;D:\IdeaProjects\xuxiaowei-cloud-next-2\cloud-commons-parent\cloud-starter-log\target\classes;D:\IdeaProjects\xuxiaowei-cloud-next-2\cloud-commons-parent\cloud-starter-validation\target\classes;D:\Apache\apache-maven-3.6.3-repo\com\google\guava\guava\31.1-jre\guava-31.1-jre.jar;D:\Apache\apache-maven-3.6.3-repo\com\google\guava\failureaccess\1.0.1\failureaccess-1.0.1.jar;D:\Apache\apache-maven-3.6.3-repo\com\google\guava\listenablefuture\9999.0-empty-to-avoid-conflict-with-guava\listenablefuture-9999.0-empty-to-avoid-conflict-with-guava.jar;D:\Apache\apache-maven-3.6.3-repo\com\google\code\findbugs\jsr305\3.0.2\jsr305-3.0.2.jar;D:\Apache\apache-maven-3.6.3-repo\org\checkerframework\checker-qual\3.12.0\checker-qual-3.12.0.jar;D:\Apache\apache-maven-3.6.3-repo\com\google\errorprone\error_prone_annotations\2.11.0\error_prone_annotations-2.11.0.jar;D:\Apache\apache-maven-3.6.3-repo\com\google\j2objc\j2objc-annotations\1.3\j2objc-annotations-1.3.jar;D:\Apache\apache-maven-3.6.3-repo\org\springframework\boot\spring-boot-starter-validation\3.0.0-M4\spring-boot-starter-validation-3.0.0-M4.jar;D:\Apache\apache-maven-3.6.3-repo\org\hibernate\validator\hibernate-validator\7.0.4.Final\hibernate-validator-7.0.4.Final.jar;D:\Apache\apache-maven-3.6.3-repo\jakarta\validation\jakarta.validation-api\3.0.2\jakarta.validation-api-3.0.2.jar;D:\Apache\apache-maven-3.6.3-repo\org\jboss\logging\jboss-logging\3.5.0.Final\jboss-logging-3.5.0.Final.jar;D:\Apache\apache-maven-3.6.3-repo\com\fasterxml\classmate\1.5.1\classmate-1.5.1.jar;D:\Apache\apache-maven-3.6.3-repo\commons-io\commons-io\2.11.0\commons-io-2.11.0.jar;D:\Apache\apache-maven-3.6.3-repo\org\springframework\spring-webmvc\6.0.0-M5\spring-webmvc-6.0.0-M5.jar;D:\Apache\apache-maven-3.6.3-repo\org\springframework\spring-aop\6.0.0-M5\spring-aop-6.0.0-M5.jar;D:\Apache\apache-maven-3.6.3-repo\org\springframework\spring-beans\6.0.0-M5\spring-beans-6.0.0-M5.jar;D:\Apache\apache-maven-3.6.3-repo\org\springframework\spring-context\6.0.0-M5\spring-context-6.0.0-M5.jar;D:\Apache\apache-maven-3.6.3-repo\org\springframework\spring-expression\6.0.0-M5\spring-expression-6.0.0-M5.jar;D:\Apache\apache-maven-3.6.3-repo\org\springframework\boot\spring-boot-starter-aop\3.0.0-M4\spring-boot-starter-aop-3.0.0-M4.jar;D:\Apache\apache-maven-3.6.3-repo\org\aspectj\aspectjweaver\1.9.9.1\aspectjweaver-1.9.9.1.jar;D:\Apache\apache-maven-3.6.3-repo\org\springframework\boot\spring-boot-starter-mail\3.0.0-M4\spring-boot-starter-mail-3.0.0-M4.jar;D:\Apache\apache-maven-3.6.3-repo\org\springframework\spring-context-support\6.0.0-M5\spring-context-support-6.0.0-M5.jar;D:\Apache\apache-maven-3.6.3-repo\com\sun\mail\jakarta.mail\2.0.1\jakarta.mail-2.0.1.jar;D:\Apache\apache-maven-3.6.3-repo\org\springframework\security\spring-security-oauth2-jose\6.0.0-M6\spring-security-oauth2-jose-6.0.0-M6.jar;D:\Apache\apache-maven-3.6.3-repo\org\springframework\security\spring-security-core\6.0.0-M6\spring-security-core-6.0.0-M6.jar;D:\Apache\apache-maven-3.6.3-repo\org\springframework\security\spring-security-crypto\6.0.0-M6\spring-security-crypto-6.0.0-M6.jar;D:\IdeaProjects\xuxiaowei-cloud-next-2\utils\target\classes;D:\IdeaProjects\xuxiaowei-cloud-next-2\cloud-commons-parent\cloud-starter-session-redis\target\classes;D:\IdeaProjects\xuxiaowei-cloud-next-2\cloud-commons-parent\cloud-starter-core\target\classes;D:\IdeaProjects\xuxiaowei-cloud-next-2\cloud-commons-parent\cloud-starter-redis\target\classes;D:\Apache\apache-maven-3.6.3-repo\org\springframework\boot\spring-boot-starter-data-redis\3.0.0-M4\spring-boot-starter-data-redis-3.0.0-M4.jar;D:\Apache\apache-maven-3.6.3-repo\io\lettuce\lettuce-core\6.2.0.RELEASE\lettuce-core-6.2.0.RELEASE.jar;D:\Apache\apache-maven-3.6.3-repo\io\netty\netty-common\4.1.79.Final\netty-common-4.1.79.Final.jar;D:\Apache\apache-maven-3.6.3-repo\io\netty\netty-handler\4.1.79.Final\netty-handler-4.1.79.Final.jar;D:\Apache\apache-maven-3.6.3-repo\io\netty\netty-resolver\4.1.79.Final\netty-resolver-4.1.79.Final.jar;D:\Apache\apache-maven-3.6.3-repo\io\netty\netty-buffer\4.1.79.Final\netty-buffer-4.1.79.Final.jar;D:\Apache\apache-maven-3.6.3-repo\io\netty\netty-transport-native-unix-common\4.1.79.Final\netty-transport-native-unix-common-4.1.79.Final.jar;D:\Apache\apache-maven-3.6.3-repo\io\netty\netty-codec\4.1.79.Final\netty-codec-4.1.79.Final.jar;D:\Apache\apache-maven-3.6.3-repo\io\netty\netty-transport\4.1.79.Final\netty-transport-4.1.79.Final.jar;D:\Apache\apache-maven-3.6.3-repo\org\springframework\session\spring-session-data-redis\3.0.0-M3\spring-session-data-redis-3.0.0-M3.jar;D:\Apache\apache-maven-3.6.3-repo\org\springframework\session\spring-session-core\3.0.0-M3\spring-session-core-3.0.0-M3.jar;D:\Apache\apache-maven-3.6.3-repo\org\springframework\data\spring-data-redis\3.0.0-M5\spring-data-redis-3.0.0-M5.jar;D:\Apache\apache-maven-3.6.3-repo\org\springframework\data\spring-data-keyvalue\3.0.0-M5\spring-data-keyvalue-3.0.0-M5.jar;D:\Apache\apache-maven-3.6.3-repo\org\springframework\data\spring-data-commons\3.0.0-M5\spring-data-commons-3.0.0-M5.jar;D:\Apache\apache-maven-3.6.3-repo\org\springframework\spring-tx\6.0.0-M5\spring-tx-6.0.0-M5.jar;D:\Apache\apache-maven-3.6.3-repo\org\springframework\spring-oxm\6.0.0-M5\spring-oxm-6.0.0-M5.jar;D:\Apache\apache-maven-3.6.3-repo\org\springframework\security\spring-security-web\6.0.0-M6\spring-security-web-6.0.0-M6.jar;D:\Apache\apache-maven-3.6.3-repo\org\apache\tomcat\embed\tomcat-embed-core\10.0.22\tomcat-embed-core-10.0.22.jar;D:\Apache\apache-maven-3.6.3-repo\org\apache\tomcat\tomcat-annotations-api\10.0.22\tomcat-annotations-api-10.0.22.jar;D:\IdeaProjects\xuxiaowei-cloud-next-2\cloud-commons-parent\cloud-starter-oauth2\target\classes;D:\IdeaProjects\xuxiaowei-cloud-next-2\cloud-commons-parent\cloud-starter-mybatis\target\classes;D:\Apache\apache-maven-3.6.3-repo\org\mybatis\spring\boot\mybatis-spring-boot-starter\2.3.0-SNAPSHOT\mybatis-spring-boot-starter-2.3.0-20221010.161036-52.jar;D:\Apache\apache-maven-3.6.3-repo\org\mybatis\spring\boot\mybatis-spring-boot-autoconfigure\2.3.0-SNAPSHOT\mybatis-spring-boot-autoconfigure-2.3.0-20221010.161036-52.jar;D:\Apache\apache-maven-3.6.3-repo\org\mybatis\mybatis\3.5.11\mybatis-3.5.11.jar;D:\Apache\apache-maven-3.6.3-repo\org\mybatis\mybatis-spring\2.1.0-SNAPSHOT\mybatis-spring-2.1.0-20221015.025306-44.jar;D:\Apache\apache-maven-3.6.3-repo\com\baomidou\mybatis-plus-boot-starter\3.5.2\mybatis-plus-boot-starter-3.5.2.jar;D:\Apache\apache-maven-3.6.3-repo\com\baomidou\mybatis-plus\3.5.2\mybatis-plus-3.5.2.jar;D:\Apache\apache-maven-3.6.3-repo\org\jetbrains\kotlin\kotlin-stdlib-jdk8\1.7.10\kotlin-stdlib-jdk8-1.7.10.jar;D:\Apache\apache-maven-3.6.3-repo\org\jetbrains\kotlin\kotlin-stdlib\1.7.10\kotlin-stdlib-1.7.10.jar;D:\Apache\apache-maven-3.6.3-repo\org\jetbrains\kotlin\kotlin-stdlib-common\1.7.10\kotlin-stdlib-common-1.7.10.jar;D:\Apache\apache-maven-3.6.3-repo\org\jetbrains\annotations\13.0\annotations-13.0.jar;D:\Apache\apache-maven-3.6.3-repo\org\jetbrains\kotlin\kotlin-stdlib-jdk7\1.7.10\kotlin-stdlib-jdk7-1.7.10.jar;D:\Apache\apache-maven-3.6.3-repo\com\baomidou\dynamic-datasource-spring-boot-starter\3.5.2\dynamic-datasource-spring-boot-starter-3.5.2.jar;D:\Apache\apache-maven-3.6.3-repo\org\springframework\boot\spring-boot-starter-jdbc\3.0.0-M4\spring-boot-starter-jdbc-3.0.0-M4.jar;D:\Apache\apache-maven-3.6.3-repo\com\zaxxer\HikariCP\5.0.1\HikariCP-5.0.1.jar;D:\Apache\apache-maven-3.6.3-repo\org\springframework\spring-jdbc\6.0.0-M5\spring-jdbc-6.0.0-M5.jar;D:\Apache\apache-maven-3.6.3-repo\mysql\mysql-connector-java\8.0.29\mysql-connector-java-8.0.29.jar;D:\Apache\apache-maven-3.6.3-repo\com\baomidou\mybatis-plus-extension\3.5.2\mybatis-plus-extension-3.5.2.jar;D:\Apache\apache-maven-3.6.3-repo\com\baomidou\mybatis-plus-core\3.5.2\mybatis-plus-core-3.5.2.jar;D:\Apache\apache-maven-3.6.3-repo\com\baomidou\mybatis-plus-annotation\3.5.2\mybatis-plus-annotation-3.5.2.jar;D:\Apache\apache-maven-3.6.3-repo\com\github\jsqlparser\jsqlparser\4.4\jsqlparser-4.4.jar;D:\Apache\apache-maven-3.6.3-repo\org\springframework\boot\spring-boot-starter-oauth2-resource-server\3.0.0-M4\spring-boot-starter-oauth2-resource-server-3.0.0-M4.jar;D:\IdeaProjects\xuxiaowei-cloud-next-2\cloud-commons-parent\cloud-starter-loadbalancer\target\classes;D:\Apache\apache-maven-3.6.3-repo\org\springframework\spring-web\6.0.0-M5\spring-web-6.0.0-M5.jar;D:\Apache\apache-maven-3.6.3-repo\org\springframework\cloud\spring-cloud-starter-loadbalancer\4.0.0-M4\spring-cloud-starter-loadbalancer-4.0.0-M4.jar;D:\Apache\apache-maven-3.6.3-repo\org\springframework\cloud\spring-cloud-loadbalancer\4.0.0-M4\spring-cloud-loadbalancer-4.0.0-M4.jar;D:\Apache\apache-maven-3.6.3-repo\io\projectreactor\reactor-core\3.5.0-M4\reactor-core-3.5.0-M4.jar;D:\Apache\apache-maven-3.6.3-repo\org\reactivestreams\reactive-streams\1.0.4\reactive-streams-1.0.4.jar;D:\Apache\apache-maven-3.6.3-repo\io\projectreactor\addons\reactor-extra\3.5.0-M4\reactor-extra-3.5.0-M4.jar;D:\Apache\apache-maven-3.6.3-repo\org\springframework\boot\spring-boot-starter-cache\3.0.0-M4\spring-boot-starter-cache-3.0.0-M4.jar;D:\Apache\apache-maven-3.6.3-repo\com\stoyanr\evictor\1.0.0\evictor-1.0.0.jar;D:\Apache\apache-maven-3.6.3-repo\org\springframework\boot\spring-boot-starter-web\3.0.0-M4\spring-boot-starter-web-3.0.0-M4.jar;D:\Apache\apache-maven-3.6.3-repo\org\springframework\boot\spring-boot-starter\3.0.0-M4\spring-boot-starter-3.0.0-M4.jar;D:\Apache\apache-maven-3.6.3-repo\org\springframework\boot\spring-boot\3.0.0-M4\spring-boot-3.0.0-M4.jar;D:\Apache\apache-maven-3.6.3-repo\org\springframework\boot\spring-boot-autoconfigure\3.0.0-M4\spring-boot-autoconfigure-3.0.0-M4.jar;D:\Apache\apache-maven-3.6.3-repo\org\springframework\boot\spring-boot-starter-logging\3.0.0-M4\spring-boot-starter-logging-3.0.0-M4.jar;D:\Apache\apache-maven-3.6.3-repo\ch\qos\logback\logback-classic\1.2.11\logback-classic-1.2.11.jar;D:\Apache\apache-maven-3.6.3-repo\ch\qos\logback\logback-core\1.2.11\logback-core-1.2.11.jar;D:\Apache\apache-maven-3.6.3-repo\org\apache\logging\log4j\log4j-to-slf4j\2.18.0\log4j-to-slf4j-2.18.0.jar;D:\Apache\apache-maven-3.6.3-repo\org\apache\logging\log4j\log4j-api\2.18.0\log4j-api-2.18.0.jar;D:\Apache\apache-maven-3.6.3-repo\org\slf4j\jul-to-slf4j\1.7.36\jul-to-slf4j-1.7.36.jar;D:\Apache\apache-maven-3.6.3-repo\jakarta\annotation\jakarta.annotation-api\2.0.0\jakarta.annotation-api-2.0.0.jar;D:\Apache\apache-maven-3.6.3-repo\org\yaml\snakeyaml\1.30\snakeyaml-1.30.jar;D:\Apache\apache-maven-3.6.3-repo\org\springframework\boot\spring-boot-starter-json\3.0.0-M4\spring-boot-starter-json-3.0.0-M4.jar;D:\Apache\apache-maven-3.6.3-repo\com\fasterxml\jackson\datatype\jackson-datatype-jdk8\2.13.3\jackson-datatype-jdk8-2.13.3.jar;D:\Apache\apache-maven-3.6.3-repo\com\fasterxml\jackson\datatype\jackson-datatype-jsr310\2.13.3\jackson-datatype-jsr310-2.13.3.jar;D:\Apache\apache-maven-3.6.3-repo\com\fasterxml\jackson\module\jackson-module-parameter-names\2.13.3\jackson-module-parameter-names-2.13.3.jar;D:\Apache\apache-maven-3.6.3-repo\org\springframework\boot\spring-boot-starter-tomcat\3.0.0-M4\spring-boot-starter-tomcat-3.0.0-M4.jar;D:\Apache\apache-maven-3.6.3-repo\org\apache\tomcat\embed\tomcat-embed-el\10.0.22\tomcat-embed-el-10.0.22.jar;D:\Apache\apache-maven-3.6.3-repo\org\apache\tomcat\embed\tomcat-embed-websocket\10.0.22\tomcat-embed-websocket-10.0.22.jar;D:\Apache\apache-maven-3.6.3-repo\org\springframework\boot\spring-boot-starter-thymeleaf\3.0.0-M4\spring-boot-starter-thymeleaf-3.0.0-M4.jar;D:\Apache\apache-maven-3.6.3-repo\org\thymeleaf\thymeleaf-spring6\3.1.0.M2\thymeleaf-spring6-3.1.0.M2.jar;D:\Apache\apache-maven-3.6.3-repo\org\thymeleaf\thymeleaf\3.1.0.M2\thymeleaf-3.1.0.M2.jar;D:\Apache\apache-maven-3.6.3-repo\org\attoparser\attoparser\2.0.5.RELEASE\attoparser-2.0.5.RELEASE.jar;D:\Apache\apache-maven-3.6.3-repo\org\unbescape\unbescape\1.1.6.RELEASE\unbescape-1.1.6.RELEASE.jar;D:\Apache\apache-maven-3.6.3-repo\org\slf4j\slf4j-api\1.7.36\slf4j-api-1.7.36.jar;D:\Apache\apache-maven-3.6.3-repo\org\thymeleaf\extras\thymeleaf-extras-java8time\3.0.4.RELEASE\thymeleaf-extras-java8time-3.0.4.RELEASE.jar;D:\Apache\apache-maven-3.6.3-repo\org\springframework\security\spring-security-oauth2-authorization-server\1.0.0-M2\spring-security-oauth2-authorization-server-1.0.0-M2.jar;D:\Apache\apache-maven-3.6.3-repo\org\springframework\security\spring-security-config\6.0.0-M6\spring-security-config-6.0.0-M6.jar;D:\Apache\apache-maven-3.6.3-repo\org\springframework\security\spring-security-oauth2-core\6.0.0-M6\spring-security-oauth2-core-6.0.0-M6.jar;D:\Apache\apache-maven-3.6.3-repo\org\springframework\security\spring-security-oauth2-resource-server\6.0.0-M6\spring-security-oauth2-resource-server-6.0.0-M6.jar;D:\Apache\apache-maven-3.6.3-repo\org\springframework\spring-core\6.0.0-M5\spring-core-6.0.0-M5.jar;D:\Apache\apache-maven-3.6.3-repo\org\springframework\spring-jcl\6.0.0-M5\spring-jcl-6.0.0-M5.jar;D:\Apache\apache-maven-3.6.3-repo\com\nimbusds\nimbus-jose-jwt\9.24.4\nimbus-jose-jwt-9.24.4.jar;D:\Apache\apache-maven-3.6.3-repo\com\github\stephenc\jcip\jcip-annotations\1.0-1\jcip-annotations-1.0-1.jar;D:\Apache\apache-maven-3.6.3-repo\com\fasterxml\jackson\core\jackson-databind\2.13.3\jackson-databind-2.13.3.jar;D:\Apache\apache-maven-3.6.3-repo\com\fasterxml\jackson\core\jackson-annotations\2.13.3\jackson-annotations-2.13.3.jar;D:\Apache\apache-maven-3.6.3-repo\com\fasterxml\jackson\core\jackson-core\2.13.3\jackson-core-2.13.3.jar;D:\Apache\apache-maven-3.6.3-repo\cn\com\xuxiaowei\boot\next\spring-boot-starter-wechat-miniprogram\0.1.0-SNAPSHOT\spring-boot-starter-wechat-miniprogram-0.1.0-20221013.014756-7.jar;D:\Apache\apache-maven-3.6.3-repo\p6spy\p6spy\3.9.1\p6spy-3.9.1.jar;D:\Apache\apache-maven-3.6.3-repo\cn\hutool\hutool-all\5.8.8\hutool-all-5.8.8.jar;D:\Apache\apache-maven-3.6.3-repo\org\springframework\cloud\spring-cloud-starter-consul-config\4.0.0-M4\spring-cloud-starter-consul-config-4.0.0-M4.jar;D:\Apache\apache-maven-3.6.3-repo\org\springframework\cloud\spring-cloud-starter-consul\4.0.0-M4\spring-cloud-starter-consul-4.0.0-M4.jar;D:\Apache\apache-maven-3.6.3-repo\org\springframework\cloud\spring-cloud-consul-core\4.0.0-M4\spring-cloud-consul-core-4.0.0-M4.jar;D:\Apache\apache-maven-3.6.3-repo\com\ecwid\consul\consul-api\1.4.5\consul-api-1.4.5.jar;D:\Apache\apache-maven-3.6.3-repo\com\google\code\gson\gson\2.9.0\gson-2.9.0.jar;D:\Apache\apache-maven-3.6.3-repo\org\apache\httpcomponents\httpclient\4.5.13\httpclient-4.5.13.jar;D:\Apache\apache-maven-3.6.3-repo\commons-codec\commons-codec\1.15\commons-codec-1.15.jar;D:\Apache\apache-maven-3.6.3-repo\org\apache\httpcomponents\httpcore\4.4.15\httpcore-4.4.15.jar;D:\Apache\apache-maven-3.6.3-repo\org\springframework\cloud\spring-cloud-consul-config\4.0.0-M4\spring-cloud-consul-config-4.0.0-M4.jar;D:\Apache\apache-maven-3.6.3-repo\org\springframework\cloud\spring-cloud-commons\4.0.0-M4\spring-cloud-commons-4.0.0-M4.jar;D:\Apache\apache-maven-3.6.3-repo\org\springframework\cloud\spring-cloud-starter-consul-discovery\4.0.0-M4\spring-cloud-starter-consul-discovery-4.0.0-M4.jar;D:\Apache\apache-maven-3.6.3-repo\org\springframework\cloud\spring-cloud-consul-discovery\4.0.0-M4\spring-cloud-consul-discovery-4.0.0-M4.jar;D:\Apache\apache-maven-3.6.3-repo\org\springframework\cloud\spring-cloud-starter-bootstrap\4.0.0-M4\spring-cloud-starter-bootstrap-4.0.0-M4.jar;D:\Apache\apache-maven-3.6.3-repo\org\springframework\cloud\spring-cloud-starter\4.0.0-M4\spring-cloud-starter-4.0.0-M4.jar;D:\Apache\apache-maven-3.6.3-repo\org\springframework\cloud\spring-cloud-context\4.0.0-M4\spring-cloud-context-4.0.0-M4.jar;D:\Apache\apache-maven-3.6.3-repo\org\springframework\security\spring-security-rsa\1.0.11.RELEASE\spring-security-rsa-1.0.11.RELEASE.jar;D:\Apache\apache-maven-3.6.3-repo\org\bouncycastle\bcpkix-jdk15on\1.69\bcpkix-jdk15on-1.69.jar;D:\Apache\apache-maven-3.6.3-repo\org\bouncycastle\bcprov-jdk15on\1.69\bcprov-jdk15on-1.69.jar;D:\Apache\apache-maven-3.6.3-repo\org\bouncycastle\bcutil-jdk15on\1.69\bcutil-jdk15on-1.69.jar;D:\Apache\apache-maven-3.6.3-repo\org\springframework\boot\spring-boot-starter-actuator\3.0.0-M4\spring-boot-starter-actuator-3.0.0-M4.jar;D:\Apache\apache-maven-3.6.3-repo\org\springframework\boot\spring-boot-actuator-autoconfigure\3.0.0-M4\spring-boot-actuator-autoconfigure-3.0.0-M4.jar;D:\Apache\apache-maven-3.6.3-repo\org\springframework\boot\spring-boot-actuator\3.0.0-M4\spring-boot-actuator-3.0.0-M4.jar;D:\Apache\apache-maven-3.6.3-repo\io\micrometer\micrometer-observation\1.10.0-M3\micrometer-observation-1.10.0-M3.jar;D:\Apache\apache-maven-3.6.3-repo\io\micrometer\micrometer-commons\1.10.0-M3\micrometer-commons-1.10.0-M3.jar;D:\Apache\apache-maven-3.6.3-repo\io\micrometer\micrometer-core\1.10.0-M3\micrometer-core-1.10.0-M3.jar;D:\Apache\apache-maven-3.6.3-repo\org\hdrhistogram\HdrHistogram\2.1.12\HdrHistogram-2.1.12.jar;D:\Apache\apache-maven-3.6.3-repo\org\latencyutils\LatencyUtils\2.0.3\LatencyUtils-2.0.3.jar;D:\Apache\apache-maven-3.6.3-repo\org\projectlombok\lombok\1.18.24\lombok-1.18.24.jar;D:\Apache\apache-maven-3.6.3-repo\com\sun\activation\jakarta.activation\2.0.1\jakarta.activation-2.0.1.jar;D:\JetBrains\Toolbox\apps\IDEA-U\ch-0\222.4345.14\lib\idea_rt.jar cloud.xuxiaowei.next.passport.PassportApplication
Connected to the target VM, address: '127.0.0.1:63273', transport: 'socket'

  .   ____          _            __ _ _
 /\\ / ___'_ __ _ _(_)_ __  __ _ \ \ \ \
( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \
 \\/  ___)| |_)| | | | | || (_| |  ) ) ) )
  '  |____| .__|_| |_|_| |_\__, | / / / /
 =========|_|==============|___/=/_/_/_/
 :: Spring Boot ::             (v3.0.0-M4)

2022-10-16 12:00:56.493 - INFO 15096 --- [           main] b.c.PropertySourceBootstrapConfiguration :  :  :  :  : Located property source: [BootstrapPropertySource {name='bootstrapProperties-config/passport,dev/'}, BootstrapPropertySource {name='bootstrapProperties-config/passport/'}, BootstrapPropertySource {name='bootstrapProperties-config/application,dev/'}, BootstrapPropertySource {name='bootstrapProperties-config/application/'}]
-2022-10-16 12:00:56.514 - INFO 15096 --- [           main] c.x.next.passport.PassportApplication    :  :  :  :  : The following 1 profile is active: "dev"
-2022-10-16 12:00:56.754 - WARN 15096 --- [           main] o.s.c.annotation.AnnotationTypeMapping   :  :  :  :  : Support for convention-based annotation attribute overrides is deprecated and will be removed in Spring Framework 6.1. Please annotate the 'proxyMode' attribute in @org.springframework.cloud.context.config.annotation.RefreshScope with an appropriate @AliasFor declaration -- for example, @AliasFor(annotation = org.springframework.context.annotation.Scope.class).
-2022-10-16 12:00:57.889 - INFO 15096 --- [           main] .s.d.r.c.RepositoryConfigurationDelegate :  :  :  :  : Multiple Spring Data modules found, entering strict repository configuration mode
-2022-10-16 12:00:57.893 - INFO 15096 --- [           main] .s.d.r.c.RepositoryConfigurationDelegate :  :  :  :  : Bootstrapping Spring Data Redis repositories in DEFAULT mode.
-2022-10-16 12:00:57.922 - INFO 15096 --- [           main] .s.d.r.c.RepositoryConfigurationDelegate :  :  :  :  : Finished Spring Data repository scanning in 13 ms. Found 0 Redis repository interfaces.
-2022-10-16 12:00:58.342 - INFO 15096 --- [           main] o.s.cloud.context.scope.GenericScope     :  :  :  :  : BeanFactory id=8fd107ea-19f9-3675-b1f2-74f412aa9f3b
-2022-10-16 12:00:58.621 - INFO 15096 --- [           main] trationDelegate$BeanPostProcessorChecker :  :  :  :  : Bean 'org.springframework.cloud.commons.config.CommonsConfigAutoConfiguration' of type [org.springframework.cloud.commons.config.CommonsConfigAutoConfiguration] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
-2022-10-16 12:00:58.625 - INFO 15096 --- [           main] trationDelegate$BeanPostProcessorChecker :  :  :  :  : Bean 'org.springframework.cloud.client.loadbalancer.LoadBalancerDefaultMappingsProviderAutoConfiguration' of type [org.springframework.cloud.client.loadbalancer.LoadBalancerDefaultMappingsProviderAutoConfiguration] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
-2022-10-16 12:00:58.626 - INFO 15096 --- [           main] trationDelegate$BeanPostProcessorChecker :  :  :  :  : Bean 'loadBalancerClientsDefaultsMappingsProvider' of type [org.springframework.cloud.client.loadbalancer.LoadBalancerDefaultMappingsProviderAutoConfiguration$$Lambda$663/0x0000000801162e98] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
-2022-10-16 12:00:58.630 - INFO 15096 --- [           main] trationDelegate$BeanPostProcessorChecker :  :  :  :  : Bean 'defaultsBindHandlerAdvisor' of type [org.springframework.cloud.commons.config.DefaultsBindHandlerAdvisor] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
-2022-10-16 12:00:58.643 - INFO 15096 --- [           main] trationDelegate$BeanPostProcessorChecker :  :  :  :  : Bean 'spring.datasource.dynamic-com.baomidou.dynamic.datasource.spring.boot.autoconfigure.DynamicDataSourceProperties' of type [com.baomidou.dynamic.datasource.spring.boot.autoconfigure.DynamicDataSourceProperties] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
-2022-10-16 12:00:58.648 - INFO 15096 --- [           main] trationDelegate$BeanPostProcessorChecker :  :  :  :  : Bean 'com.baomidou.dynamic.datasource.spring.boot.autoconfigure.DynamicDataSourceAutoConfiguration' of type [com.baomidou.dynamic.datasource.spring.boot.autoconfigure.DynamicDataSourceAutoConfiguration$$EnhancerBySpringCGLIB$$52ac6e36] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
-2022-10-16 12:00:58.674 - INFO 15096 --- [           main] trationDelegate$BeanPostProcessorChecker :  :  :  :  : Bean 'dsProcessor' of type [com.baomidou.dynamic.datasource.processor.DsHeaderProcessor] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
-2022-10-16 12:00:59.288 - INFO 15096 --- [           main] o.s.b.w.embedded.tomcat.TomcatWebServer  :  :  :  :  : Tomcat initialized with port(s): 1401 (http)
-2022-10-16 12:00:59.302 - INFO 15096 --- [           main] o.apache.catalina.core.StandardService   :  :  :  :  : Starting service [Tomcat]
-2022-10-16 12:00:59.303 - INFO 15096 --- [           main] org.apache.catalina.core.StandardEngine  :  :  :  :  : Starting Servlet engine: [Apache Tomcat/10.0.22]
-2022-10-16 12:00:59.413 - INFO 15096 --- [           main] o.a.c.c.C.[Tomcat].[localhost].[/]       :  :  :  :  : Initializing Spring embedded WebApplicationContext
-2022-10-16 12:00:59.413 - INFO 15096 --- [           main] w.s.c.ServletWebServerApplicationContext :  :  :  :  : Root WebApplicationContext: initialization completed in 2885 ms
-2022-10-16 12:00:59.589 - INFO 15096 --- [           main] com.zaxxer.hikari.HikariDataSource       :  :  :  :  : master - Starting...
-2022-10-16 12:00:59.849 - INFO 15096 --- [           main] com.zaxxer.hikari.pool.HikariPool        :  :  :  :  : master - Added connection com.p6spy.engine.wrapper.ConnectionWrapper@48aaaed9
-2022-10-16 12:00:59.852 - INFO 15096 --- [           main] com.zaxxer.hikari.HikariDataSource       :  :  :  :  : master - Start completed.
-2022-10-16 12:00:59.856 - INFO 15096 --- [           main] com.zaxxer.hikari.HikariDataSource       :  :  :  :  : log - Starting...
-2022-10-16 12:00:59.861 - INFO 15096 --- [           main] com.zaxxer.hikari.pool.HikariPool        :  :  :  :  : log - Added connection com.p6spy.engine.wrapper.ConnectionWrapper@197cc325
-2022-10-16 12:00:59.862 - INFO 15096 --- [           main] com.zaxxer.hikari.HikariDataSource       :  :  :  :  : log - Start completed.
-2022-10-16 12:00:59.862 - INFO 15096 --- [           main] c.b.d.d.DynamicRoutingDataSource         :  :  :  :  : dynamic-datasource - add a datasource named [log] success
-2022-10-16 12:00:59.862 - INFO 15096 --- [           main] c.b.d.d.DynamicRoutingDataSource         :  :  :  :  : dynamic-datasource - add a datasource named [master] success
-2022-10-16 12:00:59.862 - INFO 15096 --- [           main] c.b.d.d.DynamicRoutingDataSource         :  :  :  :  : dynamic-datasource initial loaded [2] datasource,primary datasource named [master]
-2022-10-16 12:01:00.861 - WARN 15096 --- [           main] c.b.m.core.metadata.TableInfoHelper      :  :  :  :  : Can not find table primary key in Class: "cloud.xuxiaowei.next.passport.entity.Oauth2AuthorizationConsent".
-2022-10-16 12:01:00.868 - WARN 15096 --- [           main] c.b.m.core.injector.DefaultSqlInjector   :  :  :  :  : class cloud.xuxiaowei.next.passport.entity.Oauth2AuthorizationConsent ,Not found @TableId annotation, Cannot use Mybatis-Plus 'xxById' Method.
-2022-10-16 12:01:01.163 - WARN 15096 --- [           main] c.b.m.core.metadata.TableInfoHelper      :  :  :  :  : Can not find table primary key in Class: "cloud.xuxiaowei.next.system.entity.Authorities".
-2022-10-16 12:01:01.164 - WARN 15096 --- [           main] c.b.m.core.injector.DefaultSqlInjector   :  :  :  :  : class cloud.xuxiaowei.next.system.entity.Authorities ,Not found @TableId annotation, Cannot use Mybatis-Plus 'xxById' Method.
- _ _   |_  _ _|_. ___ _ |    _ 
| | |\/|_)(_| | |_\  |_)||_|_\ 
     /               |         
                        3.5.2 
2022-10-16 12:01:03.157 - INFO 15096 --- [           main] o.s.s.web.DefaultSecurityFilterChain     :  :  :  :  : Will secure org.springframework.security.oauth2.server.authorization.config.annotation.web.configurers.OAuth2AuthorizationServerConfigurer$$Lambda$1226/0x000000080144be48@5fc76532 with [org.springframework.security.web.session.DisableEncodeUrlFilter@2e268c19, org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter@baf87a5, org.springframework.security.web.context.SecurityContextHolderFilter@17adbecf, org.springframework.security.oauth2.server.authorization.config.annotation.web.configurers.AuthorizationServerContextFilter@46c7e6c0, org.springframework.security.web.header.HeaderWriterFilter@706dee4, org.springframework.security.web.csrf.CsrfFilter@e74300b, org.springframework.security.web.authentication.logout.LogoutFilter@139da216, org.springframework.security.oauth2.server.authorization.web.OAuth2AuthorizationServerMetadataEndpointFilter@59f36439, org.springframework.security.oauth2.server.authorization.web.OAuth2AuthorizationEndpointFilter@6edc8385, org.springframework.security.oauth2.server.authorization.oidc.web.OidcProviderConfigurationEndpointFilter@1d0f03f6, org.springframework.security.oauth2.server.authorization.web.NimbusJwkSetEndpointFilter@763a72da, org.springframework.security.oauth2.server.authorization.web.OAuth2ClientAuthenticationFilter@2643caa6, org.springframework.security.web.savedrequest.RequestCacheAwareFilter@31b4c003, org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter@74214ac3, org.springframework.security.web.authentication.AnonymousAuthenticationFilter@42c9c0a1, org.springframework.security.web.session.SessionManagementFilter@146b4c6c, org.springframework.security.web.access.ExceptionTranslationFilter@54972f9a, org.springframework.security.web.access.intercept.FilterSecurityInterceptor@5fa0943d, org.springframework.security.oauth2.server.authorization.web.OAuth2TokenEndpointFilter@18a349cb, org.springframework.security.oauth2.server.authorization.web.OAuth2TokenIntrospectionEndpointFilter@6db59e26, org.springframework.security.oauth2.server.authorization.web.OAuth2TokenRevocationEndpointFilter@43a9988a, org.springframework.security.oauth2.server.authorization.oidc.web.OidcUserInfoEndpointFilter@68fec965]
-2022-10-16 12:01:03.297 - INFO 15096 --- [           main] o.s.s.web.DefaultSecurityFilterChain     :  :  :  :  : Will secure any request with [org.springframework.security.web.session.DisableEncodeUrlFilter@2052c49f, org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter@2be83e7e, org.springframework.security.web.context.SecurityContextHolderFilter@530aa75c, org.springframework.security.web.header.HeaderWriterFilter@7b8d1537, org.springframework.security.web.csrf.CsrfFilter@96271d8, org.springframework.security.web.authentication.logout.LogoutFilter@62f63625, org.springframework.security.web.authentication.UsernamePasswordAuthenticationFilter@68cc6fa4, org.springframework.security.oauth2.server.resource.web.BearerTokenAuthenticationFilter@7ea91c39, org.springframework.security.web.savedrequest.RequestCacheAwareFilter@593d0173, org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter@4a0a93ce, org.springframework.security.web.authentication.rememberme.RememberMeAuthenticationFilter@5d729af6, org.springframework.security.web.authentication.AnonymousAuthenticationFilter@df0b348, org.springframework.security.web.session.SessionManagementFilter@497cf31a, org.springframework.security.web.access.ExceptionTranslationFilter@15f3f9cf, org.springframework.security.web.access.intercept.AuthorizationFilter@6df605f]
-2022-10-16 12:01:03.632 - INFO 15096 --- [           main] o.s.b.a.w.s.WelcomePageHandlerMapping    :  :  :  :  : Adding welcome page template: index
-2022-10-16 12:01:04.627 - WARN 15096 --- [           main] o.s.s.c.a.web.builders.WebSecurity       :  :  :  :  : You are asking Spring Security to ignore Ant [pattern='/favicon.ico']. This is not recommended -- please use permitAll via HttpSecurity#authorizeHttpRequests instead.
-2022-10-16 12:01:04.627 - INFO 15096 --- [           main] o.s.s.web.DefaultSecurityFilterChain     :  :  :  :  : Will not secure Ant [pattern='/favicon.ico']
-2022-10-16 12:01:04.628 - WARN 15096 --- [           main] o.s.s.c.a.web.builders.WebSecurity       :  :  :  :  : You are asking Spring Security to ignore Ant [pattern='/**/**.js']. This is not recommended -- please use permitAll via HttpSecurity#authorizeHttpRequests instead.
-2022-10-16 12:01:04.628 - INFO 15096 --- [           main] o.s.s.web.DefaultSecurityFilterChain     :  :  :  :  : Will not secure Ant [pattern='/**/**.js']
-2022-10-16 12:01:04.628 - WARN 15096 --- [           main] o.s.s.c.a.web.builders.WebSecurity       :  :  :  :  : You are asking Spring Security to ignore Ant [pattern='/**/**.css']. This is not recommended -- please use permitAll via HttpSecurity#authorizeHttpRequests instead.
-2022-10-16 12:01:04.628 - INFO 15096 --- [           main] o.s.s.web.DefaultSecurityFilterChain     :  :  :  :  : Will not secure Ant [pattern='/**/**.css']
-2022-10-16 12:01:04.864 - WARN 15096 --- [           main] iguration$LoadBalancerCaffeineWarnLogger :  :  :  :  : Spring Cloud LoadBalancer is currently working with the default cache. While this cache implementation is useful for development and tests, it's recommended to use Caffeine cache in production.You can switch to using Caffeine cache, by adding it and org.springframework.cache.caffeine.CaffeineCacheManager to the classpath.
-2022-10-16 12:01:04.888 - INFO 15096 --- [           main] o.s.b.a.e.web.EndpointLinksResolver      :  :  :  :  : Exposing 18 endpoint(s) beneath base path '/actuator'
-2022-10-16 12:01:05.056 - INFO 15096 --- [           main] o.s.b.w.embedded.tomcat.TomcatWebServer  :  :  :  :  : Tomcat started on port(s): 1401 (http) with context path ''
-2022-10-16 12:01:05.059 - INFO 15096 --- [           main] o.s.c.c.s.ConsulServiceRegistry          :  :  :  :  : Registering service with consul: NewService{id='passport-1401', name='passport', tags=[], address='host.docker.internal', meta={secure=false}, port=1401, enableTagOverride=null, check=Check{script='null', dockerContainerID='null', shell='null', interval='10s', ttl='null', http='http://host.docker.internal:1401/actuator/health', method='null', header={}, tcp='null', timeout='null', deregisterCriticalServiceAfter='null', tlsSkipVerify=null, status='null', grpc='null', grpcUseTLS=null}, checks=null}
-2022-10-16 12:01:05.189 - INFO 15096 --- [           main] c.x.next.passport.PassportApplication    :  :  :  :  : Started PassportApplication in 11.669 seconds (process running for 12.902)
-DEBUG: Jakarta Mail version 2.0.1
2022-10-16 12:01:05.492 - INFO 15096 --- [3)-192.168.61.1] o.a.c.c.C.[Tomcat].[localhost].[/]       :  :  :  :  : Initializing Spring DispatcherServlet 'dispatcherServlet'
-2022-10-16 12:01:05.493 - INFO 15096 --- [3)-192.168.61.1] o.s.web.servlet.DispatcherServlet        :  :  :  :  : Initializing Servlet 'dispatcherServlet'
-2022-10-16 12:01:05.496 - INFO 15096 --- [3)-192.168.61.1] o.s.web.servlet.DispatcherServlet        :  :  :  :  : Completed initialization in 3 ms
-DEBUG: successfully loaded resource: /META-INF/javamail.default.providers
DEBUG: Tables of loaded providers
DEBUG: Providers Listed By Class Name: {com.sun.mail.smtp.SMTPTransport=jakarta.mail.Provider[TRANSPORT,smtp,com.sun.mail.smtp.SMTPTransport,Oracle], com.sun.mail.imap.IMAPSSLStore=jakarta.mail.Provider[STORE,imaps,com.sun.mail.imap.IMAPSSLStore,Oracle], com.sun.mail.pop3.POP3Store=jakarta.mail.Provider[STORE,pop3,com.sun.mail.pop3.POP3Store,Oracle], com.sun.mail.smtp.SMTPSSLTransport=jakarta.mail.Provider[TRANSPORT,smtps,com.sun.mail.smtp.SMTPSSLTransport,Oracle], com.sun.mail.imap.IMAPStore=jakarta.mail.Provider[STORE,imap,com.sun.mail.imap.IMAPStore,Oracle], com.sun.mail.pop3.POP3SSLStore=jakarta.mail.Provider[STORE,pop3s,com.sun.mail.pop3.POP3SSLStore,Oracle]}
DEBUG: Providers Listed By Protocol: {imap=jakarta.mail.Provider[STORE,imap,com.sun.mail.imap.IMAPStore,Oracle], smtp=jakarta.mail.Provider[TRANSPORT,smtp,com.sun.mail.smtp.SMTPTransport,Oracle], pop3=jakarta.mail.Provider[STORE,pop3,com.sun.mail.pop3.POP3Store,Oracle], imaps=jakarta.mail.Provider[STORE,imaps,com.sun.mail.imap.IMAPSSLStore,Oracle], smtps=jakarta.mail.Provider[TRANSPORT,smtps,com.sun.mail.smtp.SMTPSSLTransport,Oracle], pop3s=jakarta.mail.Provider[STORE,pop3s,com.sun.mail.pop3.POP3SSLStore,Oracle]}
DEBUG: successfully loaded resource: /META-INF/javamail.default.address.map
DEBUG: getProvider() returning jakarta.mail.Provider[TRANSPORT,smtp,com.sun.mail.smtp.SMTPTransport,Oracle]
DEBUG SMTP: useEhlo true, useAuth false
DEBUG SMTP: trying to connect to host "smtp.qq.com", port 587, isSSL false
220 newxmesmtplogicsvrsza31.qq.com XMail Esmtp QQ Mail Server.
DEBUG SMTP: connected to host "smtp.qq.com", port: 587
2022-10-16 12:01:08.288 -DEBUG 15096 --- [nio-1401-exec-1] c.x.next.log.mapper.LogMapper.insert     :  :  : 192.168.1.147 : dab4017e-7ccf-4991-a290-519c6c961f34 : ==>  Preparing: INSERT INTO log ( module, `date`, `year`, `month`, `day`, `hour`, method, request_uri, headers_map, user_agent, request_id, session_id, create_date, create_users_id, create_ip, hostname, ip_address, `port` ) VALUES ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ? )
-2022-10-16 12:01:08.307 -DEBUG 15096 --- [nio-1401-exec-1] c.x.next.log.mapper.LogMapper.insert     :  :  : 192.168.1.147 : dab4017e-7ccf-4991-a290-519c6c961f34 : ==> Parameters: passport(String), 2022-10-16(LocalDate), 2022(Integer), 10(Integer), 16(Integer), 12(Integer), GET(String), /actuator/health(String), {"host":["host.docker.internal:1401"],"connection":["close"],"accept-encoding":["gzip"],"user-agent":["Consul Health Check"],"accept":["text/plain, text/*, */*"]}(String), Consul Health Check(String), dab4017e-7ccf-4991-a290-519c6c961f34(String), 82C890DD0262D92A73CAC221DAE334A3(String), 2022-10-16T12:01:08.224206(LocalDateTime), (String), 192.168.1.147(String), host.docker.internal(String), 192.168.1.147(String), 1401(Integer)
-2022-10-16 12:01:08.316 - INFO 15096 --- [nio-1401-exec-1] p6spy                                    :  :  : 192.168.1.147 : dab4017e-7ccf-4991-a290-519c6c961f34 : 1665892868315|8|statement|connection 1|url jdbc:p6spy:mysql://mysql.example.next.xuxiaowei.cloud:3306/xuxiaowei_cloud_next_log?useSSL=false&serverTimezone=GMT%2B8|INSERT INTO log  ( module, `date`, `year`, `month`, `day`, `hour`, method, request_uri, headers_map, user_agent, request_id, session_id, create_date, create_users_id, create_ip, hostname, ip_address, `port` )  VALUES  ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ? )|INSERT INTO log  ( module, `date`, `year`, `month`, `day`, `hour`, method, request_uri, headers_map, user_agent, request_id, session_id, create_date, create_users_id, create_ip, hostname, ip_address, `port` )  VALUES  ( 'passport', '2022-10-16', 2022, 10, 16, 12, 'GET', '/actuator/health', '{"host":["host.docker.internal:1401"],"connection":["close"],"accept-encoding":["gzip"],"user-agent":["Consul Health Check"],"accept":["text/plain, text/*, */*"]}', 'Consul Health Check', 'dab4017e-7ccf-4991-a290-519c6c961f34', '82C890DD0262D92A73CAC221DAE334A3', '2022-10-16T12:01:08.224206', '', '192.168.1.147', 'host.docker.internal', '192.168.1.147', 1401 )
-2022-10-16 12:01:08.316 -DEBUG 15096 --- [nio-1401-exec-1] c.x.next.log.mapper.LogMapper.insert     :  :  : 192.168.1.147 : dab4017e-7ccf-4991-a290-519c6c961f34 : <==    Updates: 1
-DEBUG: getProvider() returning jakarta.mail.Provider[TRANSPORT,smtp,com.sun.mail.smtp.SMTPTransport,Oracle]
DEBUG SMTP: useEhlo true, useAuth false
DEBUG SMTP: trying to connect to host "smtp.qq.com", port 587, isSSL false
220 newxmesmtplogicsvrsza8.qq.com XMail Esmtp QQ Mail Server.
DEBUG SMTP: connected to host "smtp.qq.com", port: 587
EHLO DESKTOP-8E6LUNV
250-newxmesmtplogicsvrsza31.qq.com
250-PIPELINING
250-SIZE 73400320
250-STARTTLS
250-AUTH LOGIN PLAIN XOAUTH XOAUTH2
250-AUTH=LOGIN
250-MAILCOMPRESS
250 8BITMIME
DEBUG SMTP: Found extension "PIPELINING", arg ""
DEBUG SMTP: Found extension "SIZE", arg "73400320"
DEBUG SMTP: Found extension "STARTTLS", arg ""
DEBUG SMTP: Found extension "AUTH", arg "LOGIN PLAIN XOAUTH XOAUTH2"
DEBUG SMTP: Found extension "AUTH=LOGIN", arg ""
DEBUG SMTP: Found extension "MAILCOMPRESS", arg ""
DEBUG SMTP: Found extension "8BITMIME", arg ""
QUIT
221 Bye.
EHLO DESKTOP-8E6LUNV
250-newxmesmtplogicsvrsza8.qq.com
250-PIPELINING
250-SIZE 73400320
250-STARTTLS
250-AUTH LOGIN PLAIN XOAUTH XOAUTH2
250-AUTH=LOGIN
250-MAILCOMPRESS
250 8BITMIME
DEBUG SMTP: Found extension "PIPELINING", arg ""
DEBUG SMTP: Found extension "SIZE", arg "73400320"
DEBUG SMTP: Found extension "STARTTLS", arg ""
DEBUG SMTP: Found extension "AUTH", arg "LOGIN PLAIN XOAUTH XOAUTH2"
DEBUG SMTP: Found extension "AUTH=LOGIN", arg ""
DEBUG SMTP: Found extension "MAILCOMPRESS", arg ""
DEBUG SMTP: Found extension "8BITMIME", arg ""
QUIT
221 Bye.
2022-10-16 12:01:23.158 -DEBUG 15096 --- [nio-1401-exec-2] c.x.next.log.mapper.LogMapper.insert     :  :  : 192.168.1.147 : 6916ddf5-4426-409f-a49e-0b0127bdd9f2 : ==>  Preparing: INSERT INTO log ( module, `date`, `year`, `month`, `day`, `hour`, method, request_uri, headers_map, user_agent, request_id, session_id, create_date, create_users_id, create_ip, hostname, ip_address, `port` ) VALUES ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ? )
-2022-10-16 12:01:23.159 -DEBUG 15096 --- [nio-1401-exec-2] c.x.next.log.mapper.LogMapper.insert     :  :  : 192.168.1.147 : 6916ddf5-4426-409f-a49e-0b0127bdd9f2 : ==> Parameters: passport(String), 2022-10-16(LocalDate), 2022(Integer), 10(Integer), 16(Integer), 12(Integer), GET(String), /actuator/health(String), {"host":["host.docker.internal:1401"],"connection":["close"],"accept-encoding":["gzip"],"user-agent":["Consul Health Check"],"accept":["text/plain, text/*, */*"]}(String), Consul Health Check(String), 6916ddf5-4426-409f-a49e-0b0127bdd9f2(String), 47DD4FBB5B7A080FA10293D787DC5A56(String), 2022-10-16T12:01:23.157427(LocalDateTime), (String), 192.168.1.147(String), host.docker.internal(String), 192.168.1.147(String), 1401(Integer)
-2022-10-16 12:01:23.163 - INFO 15096 --- [nio-1401-exec-2] p6spy                                    :  :  : 192.168.1.147 : 6916ddf5-4426-409f-a49e-0b0127bdd9f2 : 1665892883163|3|statement|connection 1|url jdbc:p6spy:mysql://mysql.example.next.xuxiaowei.cloud:3306/xuxiaowei_cloud_next_log?useSSL=false&serverTimezone=GMT%2B8|INSERT INTO log  ( module, `date`, `year`, `month`, `day`, `hour`, method, request_uri, headers_map, user_agent, request_id, session_id, create_date, create_users_id, create_ip, hostname, ip_address, `port` )  VALUES  ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ? )|INSERT INTO log  ( module, `date`, `year`, `month`, `day`, `hour`, method, request_uri, headers_map, user_agent, request_id, session_id, create_date, create_users_id, create_ip, hostname, ip_address, `port` )  VALUES  ( 'passport', '2022-10-16', 2022, 10, 16, 12, 'GET', '/actuator/health', '{"host":["host.docker.internal:1401"],"connection":["close"],"accept-encoding":["gzip"],"user-agent":["Consul Health Check"],"accept":["text/plain, text/*, */*"]}', 'Consul Health Check', '6916ddf5-4426-409f-a49e-0b0127bdd9f2', '47DD4FBB5B7A080FA10293D787DC5A56', '2022-10-16T12:01:23.157427', '', '192.168.1.147', 'host.docker.internal', '192.168.1.147', 1401 )
-2022-10-16 12:01:23.164 -DEBUG 15096 --- [nio-1401-exec-2] c.x.next.log.mapper.LogMapper.insert     :  :  : 192.168.1.147 : 6916ddf5-4426-409f-a49e-0b0127bdd9f2 : <==    Updates: 1
-DEBUG: getProvider() returning jakarta.mail.Provider[TRANSPORT,smtp,com.sun.mail.smtp.SMTPTransport,Oracle]
xuxiaowei-com-cn commented 2 years ago

Spring Boot 将在下个月发布 3.0.0 正式版,希望尽快解决此问题 https://spring.io/blog/2022/10/12/observability-with-spring-boot-3

xuxiaowei-com-cn commented 2 years ago

问题复现可运行 xuxiaowei-cloud-next 项目中的 xuxiaowei_datasource 分支 中的 passport 服务

xuxiaowei-com-cn commented 2 years ago

:sparkles: 支持 Spring Boot 新版自动配置