SpringCloud版本项目启动错误

Blade 未结 1 579
侯浩杰
侯浩杰 剑者 2024-04-23 10:19

一、该问题的重现步骤是什么?

  1. 服务启动多数据源配置为true时,系统可以运行但是报错“dynamic-datasource can not find primary datasource”,同时配置端口未生效,当运行其他服务时还会继续调用8080端口,因端口占用其他服务也无法启动


image.png




image.png

    

2. 服务启动多数据源配置为false时,系统无法运行报错“Failed to configure a DataSource: 'url' attribute is not specified and no embedded datasource could be configured.”

image.png

3.


二、你期待的结果是什么?实际看到的又是什么?


三、你正在使用的是什么产品,什么版本?在什么操作系统上?

bladeX  springcloud版本

四、请提供详细的错误堆栈信息,这很重要。

1. 服务启动多数据源配置为true时

D:\Java\jdk1.8.0_171\bin\java.exe -XX:TieredStopAtLevel=1 -noverify -Dspring.output.ansi.enabled=always -Dcom.sun.management.jmxremote -Dspring.jmx.enabled=true -Dspring.liveBeansView.mbeanDomain -Dspring.application.admin.enabled=true "-Dmanagement.endpoints.jmx.exposure.include=*" "-javaagent:D:\JetBrains\IntelliJ IDEA 2024.1\lib\idea_rt.jar=52169:D:\JetBrains\IntelliJ IDEA 2024.1\bin" -Dfile.encoding=UTF-8 -classpath D:\Java\jdk1.8.0_171\jre\lib\charsets.jar;D:\Java\jdk1.8.0_171\jre\lib\deploy.jar;D:\Java\jdk1.8.0_171\jre\lib\ext\access-bridge-64.jar;D:\Java\jdk1.8.0_171\jre\lib\ext\cldrdata.jar;D:\Java\jdk1.8.0_171\jre\lib\ext\dnsns.jar;D:\Java\jdk1.8.0_171\jre\lib\ext\jaccess.jar;D:\Java\jdk1.8.0_171\jre\lib\ext\jfxrt.jar;D:\Java\jdk1.8.0_171\jre\lib\ext\localedata.jar;D:\Java\jdk1.8.0_171\jre\lib\ext\nashorn.jar;D:\Java\jdk1.8.0_171\jre\lib\ext\sunec.jar;D:\Java\jdk1.8.0_171\jre\lib\ext\sunjce_provider.jar;D:\Java\jdk1.8.0_171\jre\lib\ext\sunmscapi.jar;D:\Java\jdk1.8.0_171\jre\lib\ext\sunpkcs11.jar;D:\Java\jdk1.8.0_171\jre\lib\ext\zipfs.jar;D:\Java\jdk1.8.0_171\jre\lib\javaws.jar;D:\Java\jdk1.8.0_171\jre\lib\jce.jar;D:\Java\jdk1.8.0_171\jre\lib\jfr.jar;D:\Java\jdk1.8.0_171\jre\lib\jfxswt.jar;D:\Java\jdk1.8.0_171\jre\lib\jsse.jar;D:\Java\jdk1.8.0_171\jre\lib\management-agent.jar;D:\Java\jdk1.8.0_171\jre\lib\plugin.jar;D:\Java\jdk1.8.0_171\jre\lib\resources.jar;D:\Java\jdk1.8.0_171\jre\lib\rt.jar;E:\2.YuFuJianGuan\project-2024-04-18\yufujianguan-xxxinchanpin-prepaid_platform-\blade-auth\target\classes;E:\2.YuFuJianGuan\project-2024-04-18\yufujianguan-xxxinchanpin-prepaid_platform-\blade-common\target\classes;D:\maven\LocalMaven2\org\springblade\blade-core-launch\3.0.1.RELEASE\blade-core-launch-3.0.1.RELEASE.jar;D:\maven\LocalMaven2\org\springframework\boot\spring-boot-starter-web\2.7.1\spring-boot-starter-web-2.7.1.jar;D:\maven\LocalMaven2\org\springframework\boot\spring-boot-starter-json\2.7.1\spring-boot-starter-json-2.7.1.jar;D:\maven\LocalMaven2\com\fasterxml\jackson\datatype\jackson-datatype-jdk8\2.13.3\jackson-datatype-jdk8-2.13.3.jar;D:\maven\LocalMaven2\com\fasterxml\jackson\module\jackson-module-parameter-names\2.13.3\jackson-module-parameter-names-2.13.3.jar;D:\maven\LocalMaven2\org\springframework\boot\spring-boot-starter-undertow\2.7.1\spring-boot-starter-undertow-2.7.1.jar;D:\maven\LocalMaven2\io\undertow\undertow-core\2.2.18.Final\undertow-core-2.2.18.Final.jar;D:\maven\LocalMaven2\org\jboss\logging\jboss-logging\3.4.3.Final\jboss-logging-3.4.3.Final.jar;D:\maven\LocalMaven2\org\jboss\threads\jboss-threads\3.1.0.Final\jboss-threads-3.1.0.Final.jar;D:\maven\LocalMaven2\io\undertow\undertow-servlet\2.2.18.Final\undertow-servlet-2.2.18.Final.jar;D:\maven\LocalMaven2\io\undertow\undertow-websockets-jsr\2.2.18.Final\undertow-websockets-jsr-2.2.18.Final.jar;D:\maven\LocalMaven2\jakarta\servlet\jakarta.servlet-api\4.0.4\jakarta.servlet-api-4.0.4.jar;D:\maven\LocalMaven2\jakarta\websocket\jakarta.websocket-api\1.1.2\jakarta.websocket-api-1.1.2.jar;D:\maven\LocalMaven2\org\apache\tomcat\embed\tomcat-embed-el\9.0.64\tomcat-embed-el-9.0.64.jar;D:\maven\LocalMaven2\org\springframework\cloud\spring-cloud-starter-bootstrap\3.1.3\spring-cloud-starter-bootstrap-3.1.3.jar;D:\maven\LocalMaven2\org\springblade\blade-starter-loadbalancer\3.0.1.RELEASE\blade-starter-loadbalancer-3.0.1.RELEASE.jar;D:\maven\LocalMaven2\org\springframework\cloud\spring-cloud-starter-loadbalancer\3.1.3\spring-cloud-starter-loadbalancer-3.1.3.jar;D:\maven\LocalMaven2\org\springframework\cloud\spring-cloud-loadbalancer\3.1.3\spring-cloud-loadbalancer-3.1.3.jar;D:\maven\LocalMaven2\io\projectreactor\addons\reactor-extra\3.4.8\reactor-extra-3.4.8.jar;D:\maven\LocalMaven2\com\stoyanr\evictor\1.0.0\evictor-1.0.0.jar;D:\maven\LocalMaven2\io\github\openfeign\feign-okhttp\11.8\feign-okhttp-11.8.jar;D:\maven\LocalMaven2\com\squareup\okhttp3\okhttp\4.9.3\okhttp-4.9.3.jar;D:\maven\LocalMaven2\com\squareup\okio\okio\2.8.0\okio-2.8.0.jar;D:\maven\LocalMaven2\org\jetbrains\kotlin\kotlin-stdlib-common\1.6.21\kotlin-stdlib-common-1.6.21.jar;D:\maven\LocalMaven2\org\jetbrains\kotlin\kotlin-stdlib\1.6.21\kotlin-stdlib-1.6.21.jar;D:\maven\LocalMaven2\org\jetbrains\annotations\13.0\annotations-13.0.jar;D:\maven\LocalMaven2\com\alibaba\cloud\spring-cloud-starter-alibaba-nacos-discovery\2021.0.1.0\spring-cloud-starter-alibaba-nacos-discovery-2021.0.1.0.jar;D:\maven\LocalMaven2\com\alibaba\cloud\spring-cloud-alibaba-commons\2021.0.1.0\spring-cloud-alibaba-commons-2021.0.1.0.jar;D:\maven\LocalMaven2\com\alibaba\spring\spring-context-support\1.0.11\spring-context-support-1.0.11.jar;D:\maven\LocalMaven2\org\springframework\cloud\spring-cloud-context\3.1.3\spring-cloud-context-3.1.3.jar;D:\maven\LocalMaven2\com\alibaba\cloud\spring-cloud-starter-alibaba-nacos-config\2021.0.1.0\spring-cloud-starter-alibaba-nacos-config-2021.0.1.0.jar;D:\maven\LocalMaven2\com\alibaba\nacos\nacos-client\2.1.0\nacos-client-2.1.0.jar;D:\maven\LocalMaven2\com\alibaba\nacos\nacos-auth-plugin\2.1.0\nacos-auth-plugin-2.1.0.jar;D:\maven\LocalMaven2\com\alibaba\nacos\nacos-encryption-plugin\2.1.0\nacos-encryption-plugin-2.1.0.jar;D:\maven\LocalMaven2\org\apache\httpcomponents\httpasyncclient\4.1.5\httpasyncclient-4.1.5.jar;D:\maven\LocalMaven2\org\apache\httpcomponents\httpcore-nio\4.4.15\httpcore-nio-4.4.15.jar;D:\maven\LocalMaven2\io\prometheus\simpleclient\0.15.0\simpleclient-0.15.0.jar;D:\maven\LocalMaven2\io\prometheus\simpleclient_tracer_otel\0.15.0\simpleclient_tracer_otel-0.15.0.jar;D:\maven\LocalMaven2\io\prometheus\simpleclient_tracer_common\0.15.0\simpleclient_tracer_common-0.15.0.jar;D:\maven\LocalMaven2\io\prometheus\simpleclient_tracer_otel_agent\0.15.0\simpleclient_tracer_otel_agent-0.15.0.jar;D:\maven\LocalMaven2\org\springframework\boot\spring-boot-starter-data-redis\2.7.1\spring-boot-starter-data-redis-2.7.1.jar;D:\maven\LocalMaven2\io\lettuce\lettuce-core\6.1.8.RELEASE\lettuce-core-6.1.8.RELEASE.jar;D:\maven\LocalMaven2\bocom\openapi\bocom-openapi-sdk\2.0-1024\bocom-openapi-sdk-2.0-1024.jar;D:\maven\LocalMaven2\org\bouncycastle\bcprov-jdk15on\1.62\bcprov-jdk15on-1.62.jar;D:\maven\LocalMaven2\com\fasterxml\jackson\core\jackson-annotations\2.13.3\jackson-annotations-2.13.3.jar;D:\maven\LocalMaven2\com\fasterxml\jackson\core\jackson-core\2.13.3\jackson-core-2.13.3.jar;D:\maven\LocalMaven2\com\fasterxml\jackson\core\jackson-databind\2.13.3\jackson-databind-2.13.3.jar;D:\maven\LocalMaven2\com\fasterxml\jackson\datatype\jackson-datatype-jsr310\2.13.3\jackson-datatype-jsr310-2.13.3.jar;D:\maven\LocalMaven2\com\alibaba\fastjson\1.2.83_noneautotype\fastjson-1.2.83_noneautotype.jar;D:\maven\LocalMaven2\com\auth0\java-jwt\3.2.0\java-jwt-3.2.0.jar;D:\maven\LocalMaven2\org\apache\commons\commons-lang3\3.12.0\commons-lang3-3.12.0.jar;D:\maven\LocalMaven2\io\swagger\swagger-annotations\1.6.2\swagger-annotations-1.6.2.jar;D:\maven\LocalMaven2\org\springblade\blade-core-db\3.0.1.RELEASE\blade-core-db-3.0.1.RELEASE.jar;D:\maven\LocalMaven2\org\springblade\blade-core-tool\3.0.1.RELEASE\blade-core-tool-3.0.1.RELEASE.jar;D:\maven\LocalMaven2\com\google\guava\guava\30.1.1-jre\guava-30.1.1-jre.jar;D:\maven\LocalMaven2\com\google\guava\failureaccess\1.0.1\failureaccess-1.0.1.jar;D:\maven\LocalMaven2\com\google\guava\listenablefuture\9999.0-empty-to-avoid-conflict-with-guava\listenablefuture-9999.0-empty-to-avoid-conflict-with-guava.jar;D:\maven\LocalMaven2\com\google\code\findbugs\jsr305\3.0.2\jsr305-3.0.2.jar;D:\maven\LocalMaven2\org\checkerframework\checker-qual\3.8.0\checker-qual-3.8.0.jar;D:\maven\LocalMaven2\com\google\errorprone\error_prone_annotations\2.5.1\error_prone_annotations-2.5.1.jar;D:\maven\LocalMaven2\com\google\j2objc\j2objc-annotations\1.3\j2objc-annotations-1.3.jar;D:\maven\LocalMaven2\io\protostuff\protostuff-core\1.6.0\protostuff-core-1.6.0.jar;D:\maven\LocalMaven2\io\protostuff\protostuff-api\1.6.0\protostuff-api-1.6.0.jar;D:\maven\LocalMaven2\io\protostuff\protostuff-runtime\1.6.0\protostuff-runtime-1.6.0.jar;D:\maven\LocalMaven2\io\protostuff\protostuff-collectionschema\1.6.0\protostuff-collectionschema-1.6.0.jar;D:\maven\LocalMaven2\com\fasterxml\jackson\module\jackson-module-jaxb-annotations\2.13.3\jackson-module-jaxb-annotations-2.13.3.jar;D:\maven\LocalMaven2\jakarta\xml\bind\jakarta.xml.bind-api\2.3.3\jakarta.xml.bind-api-2.3.3.jar;D:\maven\LocalMaven2\jakarta\activation\jakarta.activation-api\1.2.2\jakarta.activation-api-1.2.2.jar;D:\maven\LocalMaven2\org\springframework\boot\spring-boot-starter-validation\2.7.1\spring-boot-starter-validation-2.7.1.jar;D:\maven\LocalMaven2\org\hibernate\validator\hibernate-validator\6.2.3.Final\hibernate-validator-6.2.3.Final.jar;D:\maven\LocalMaven2\jakarta\validation\jakarta.validation-api\2.0.2\jakarta.validation-api-2.0.2.jar;D:\maven\LocalMaven2\org\springframework\boot\spring-boot-starter-jdbc\2.7.1\spring-boot-starter-jdbc-2.7.1.jar;D:\maven\LocalMaven2\com\zaxxer\HikariCP\4.0.3\HikariCP-4.0.3.jar;D:\maven\LocalMaven2\org\springframework\spring-jdbc\5.3.21\spring-jdbc-5.3.21.jar;D:\maven\LocalMaven2\com\baomidou\mybatis-plus-boot-starter\3.5.2\mybatis-plus-boot-starter-3.5.2.jar;D:\maven\LocalMaven2\com\baomidou\mybatis-plus\3.5.2\mybatis-plus-3.5.2.jar;D:\maven\LocalMaven2\com\baomidou\mybatis-plus-extension\3.5.2\mybatis-plus-extension-3.5.2.jar;D:\maven\LocalMaven2\com\baomidou\mybatis-plus-core\3.5.2\mybatis-plus-core-3.5.2.jar;D:\maven\LocalMaven2\com\baomidou\mybatis-plus-annotation\3.5.2\mybatis-plus-annotation-3.5.2.jar;D:\maven\LocalMaven2\com\github\jsqlparser\jsqlparser\4.4\jsqlparser-4.4.jar;D:\maven\LocalMaven2\org\mybatis\mybatis\3.5.10\mybatis-3.5.10.jar;D:\maven\LocalMaven2\org\mybatis\mybatis-spring\2.0.7\mybatis-spring-2.0.7.jar;D:\maven\LocalMaven2\org\jetbrains\kotlin\kotlin-stdlib-jdk8\1.6.21\kotlin-stdlib-jdk8-1.6.21.jar;D:\maven\LocalMaven2\org\jetbrains\kotlin\kotlin-stdlib-jdk7\1.6.21\kotlin-stdlib-jdk7-1.6.21.jar;D:\maven\LocalMaven2\org\springframework\boot\spring-boot-autoconfigure\2.7.1\spring-boot-autoconfigure-2.7.1.jar;D:\maven\LocalMaven2\com\alibaba\druid-spring-boot-starter\1.2.8\druid-spring-boot-starter-1.2.8.jar;D:\maven\LocalMaven2\mysql\mysql-connector-java\8.0.22\mysql-connector-java-8.0.22.jar;D:\maven\LocalMaven2\com\google\protobuf\protobuf-java\3.5.1\protobuf-java-3.5.1.jar;D:\maven\LocalMaven2\org\springframework\boot\spring-boot-starter-aop\2.7.1\spring-boot-starter-aop-2.7.1.jar;D:\maven\LocalMaven2\org\aspectj\aspectjweaver\1.9.7\aspectjweaver-1.9.7.jar;D:\maven\LocalMaven2\org\springframework\retry\spring-retry\1.3.3\spring-retry-1.3.3.jar;D:\maven\LocalMaven2\org\springblade\blade-core-cloud\3.0.1.RELEASE\blade-core-cloud-3.0.1.RELEASE.jar;D:\maven\LocalMaven2\org\springblade\blade-core-context\3.0.1.RELEASE\blade-core-context-3.0.1.RELEASE.jar;D:\maven\LocalMaven2\org\springblade\blade-starter-auth\3.0.1.RELEASE\blade-starter-auth-3.0.1.RELEASE.jar;D:\maven\LocalMaven2\de\codecentric\spring-boot-admin-starter-client\2.7.1\spring-boot-admin-starter-client-2.7.1.jar;D:\maven\LocalMaven2\de\codecentric\spring-boot-admin-client\2.7.1\spring-boot-admin-client-2.7.1.jar;D:\maven\LocalMaven2\org\springframework\boot\spring-boot-starter-actuator\2.7.1\spring-boot-starter-actuator-2.7.1.jar;D:\maven\LocalMaven2\org\springframework\boot\spring-boot-actuator-autoconfigure\2.7.1\spring-boot-actuator-autoconfigure-2.7.1.jar;D:\maven\LocalMaven2\org\springframework\boot\spring-boot-actuator\2.7.1\spring-boot-actuator-2.7.1.jar;D:\maven\LocalMaven2\com\alibaba\cloud\spring-cloud-starter-alibaba-sentinel\2021.0.1.0\spring-cloud-starter-alibaba-sentinel-2021.0.1.0.jar;D:\maven\LocalMaven2\com\alibaba\csp\sentinel-transport-simple-http\1.8.3\sentinel-transport-simple-http-1.8.3.jar;D:\maven\LocalMaven2\com\alibaba\csp\sentinel-transport-common\1.8.3\sentinel-transport-common-1.8.3.jar;D:\maven\LocalMaven2\com\alibaba\csp\sentinel-datasource-extension\1.8.3\sentinel-datasource-extension-1.8.3.jar;D:\maven\LocalMaven2\com\alibaba\csp\sentinel-annotation-aspectj\1.8.3\sentinel-annotation-aspectj-1.8.3.jar;D:\maven\LocalMaven2\com\alibaba\cloud\spring-cloud-circuitbreaker-sentinel\2021.0.1.0\spring-cloud-circuitbreaker-sentinel-2021.0.1.0.jar;D:\maven\LocalMaven2\com\alibaba\csp\sentinel-reactor-adapter\1.8.3\sentinel-reactor-adapter-1.8.3.jar;D:\maven\LocalMaven2\com\alibaba\csp\sentinel-spring-webflux-adapter\1.8.3\sentinel-spring-webflux-adapter-1.8.3.jar;D:\maven\LocalMaven2\com\alibaba\csp\sentinel-spring-webmvc-adapter\1.8.3\sentinel-spring-webmvc-adapter-1.8.3.jar;D:\maven\LocalMaven2\com\alibaba\csp\sentinel-parameter-flow-control\1.8.3\sentinel-parameter-flow-control-1.8.3.jar;D:\maven\LocalMaven2\com\googlecode\concurrentlinkedhashmap\concurrentlinkedhashmap-lru\1.4.2\concurrentlinkedhashmap-lru-1.4.2.jar;D:\maven\LocalMaven2\com\alibaba\csp\sentinel-cluster-server-default\1.8.3\sentinel-cluster-server-default-1.8.3.jar;D:\maven\LocalMaven2\com\alibaba\csp\sentinel-cluster-common-default\1.8.3\sentinel-cluster-common-default-1.8.3.jar;D:\maven\LocalMaven2\com\alibaba\csp\sentinel-cluster-client-default\1.8.3\sentinel-cluster-client-default-1.8.3.jar;D:\maven\LocalMaven2\com\alibaba\cloud\spring-cloud-alibaba-sentinel-datasource\2021.0.1.0\spring-cloud-alibaba-sentinel-datasource-2021.0.1.0.jar;D:\maven\LocalMaven2\org\springblade\blade-starter-metrics\3.0.1.RELEASE\blade-starter-metrics-3.0.1.RELEASE.jar;D:\maven\LocalMaven2\io\micrometer\micrometer-core\1.9.1\micrometer-core-1.9.1.jar;D:\maven\LocalMaven2\org\hdrhistogram\HdrHistogram\2.1.12\HdrHistogram-2.1.12.jar;D:\maven\LocalMaven2\org\latencyutils\LatencyUtils\2.0.3\LatencyUtils-2.0.3.jar;D:\maven\LocalMaven2\io\micrometer\micrometer-registry-prometheus\1.9.1\micrometer-registry-prometheus-1.9.1.jar;D:\maven\LocalMaven2\io\prometheus\simpleclient_common\0.15.0\simpleclient_common-0.15.0.jar;D:\maven\LocalMaven2\com\alibaba\csp\sentinel-core\1.8.4\sentinel-core-1.8.4.jar;D:\maven\LocalMaven2\com\alibaba\druid\1.2.8\druid-1.2.8.jar;D:\maven\LocalMaven2\org\springblade\blade-starter-redis\3.0.1.RELEASE\blade-starter-redis-3.0.1.RELEASE.jar;D:\maven\LocalMaven2\org\springblade\blade-starter-jwt\3.0.1.RELEASE\blade-starter-jwt-3.0.1.RELEASE.jar;D:\maven\LocalMaven2\io\jsonwebtoken\jjwt-impl\0.11.2\jjwt-impl-0.11.2.jar;D:\maven\LocalMaven2\io\jsonwebtoken\jjwt-api\0.11.2\jjwt-api-0.11.2.jar;D:\maven\LocalMaven2\io\jsonwebtoken\jjwt-jackson\0.11.2\jjwt-jackson-0.11.2.jar;D:\maven\LocalMaven2\org\redisson\redisson\3.11.6\redisson-3.11.6.jar;D:\maven\LocalMaven2\io\netty\netty-common\4.1.78.Final\netty-common-4.1.78.Final.jar;D:\maven\LocalMaven2\io\netty\netty-codec\4.1.78.Final\netty-codec-4.1.78.Final.jar;D:\maven\LocalMaven2\io\netty\netty-buffer\4.1.78.Final\netty-buffer-4.1.78.Final.jar;D:\maven\LocalMaven2\io\netty\netty-transport\4.1.78.Final\netty-transport-4.1.78.Final.jar;D:\maven\LocalMaven2\io\netty\netty-resolver\4.1.78.Final\netty-resolver-4.1.78.Final.jar;D:\maven\LocalMaven2\io\netty\netty-resolver-dns\4.1.78.Final\netty-resolver-dns-4.1.78.Final.jar;D:\maven\LocalMaven2\io\netty\netty-codec-dns\4.1.78.Final\netty-codec-dns-4.1.78.Final.jar;D:\maven\LocalMaven2\io\netty\netty-handler\4.1.78.Final\netty-handler-4.1.78.Final.jar;D:\maven\LocalMaven2\io\netty\netty-transport-native-unix-common\4.1.78.Final\netty-transport-native-unix-common-4.1.78.Final.jar;D:\maven\LocalMaven2\javax\cache\cache-api\1.1.1\cache-api-1.1.1.jar;D:\maven\LocalMaven2\io\projectreactor\reactor-core\3.4.19\reactor-core-3.4.19.jar;D:\maven\LocalMaven2\org\reactivestreams\reactive-streams\1.0.4\reactive-streams-1.0.4.jar;D:\maven\LocalMaven2\io\reactivex\rxjava2\rxjava\2.2.21\rxjava-2.2.21.jar;D:\maven\LocalMaven2\de\ruedigermoeller\fst\2.57\fst-2.57.jar;D:\maven\LocalMaven2\org\javassist\javassist\3.21.0-GA\javassist-3.21.0-GA.jar;D:\maven\LocalMaven2\org\objenesis\objenesis\2.6\objenesis-2.6.jar;D:\maven\LocalMaven2\com\fasterxml\jackson\dataformat\jackson-dataformat-yaml\2.13.3\jackson-dataformat-yaml-2.13.3.jar;D:\maven\LocalMaven2\net\bytebuddy\byte-buddy\1.12.11\byte-buddy-1.12.11.jar;D:\maven\LocalMaven2\org\jodd\jodd-bean\5.0.13\jodd-bean-5.0.13.jar;D:\maven\LocalMaven2\org\jodd\jodd-core\5.0.13\jodd-core-5.0.13.jar;D:\maven\LocalMaven2\org\springblade\blade-starter-swagger\3.0.1.RELEASE\blade-starter-swagger-3.0.1.RELEASE.jar;D:\maven\LocalMaven2\com\github\xiaoymin\knife4j-micro-spring-boot-starter\2.0.9\knife4j-micro-spring-boot-starter-2.0.9.jar;D:\maven\LocalMaven2\com\github\xiaoymin\knife4j-spring-boot-autoconfigure\2.0.9\knife4j-spring-boot-autoconfigure-2.0.9.jar;D:\maven\LocalMaven2\com\github\xiaoymin\knife4j-spring\2.0.9\knife4j-spring-2.0.9.jar;D:\maven\LocalMaven2\com\github\xiaoymin\knife4j-annotations\2.0.9\knife4j-annotations-2.0.9.jar;D:\maven\LocalMaven2\com\github\xiaoymin\knife4j-core\2.0.9\knife4j-core-2.0.9.jar;D:\maven\LocalMaven2\io\springfox\springfox-bean-validators\2.10.5\springfox-bean-validators-2.10.5.jar;D:\maven\LocalMaven2\io\springfox\springfox-spring-webmvc\2.10.5\springfox-spring-webmvc-2.10.5.jar;D:\maven\LocalMaven2\org\springblade\blade-starter-social\3.0.1.RELEASE\blade-starter-social-3.0.1.RELEASE.jar;D:\maven\LocalMaven2\me\zhyd\oauth\JustAuth\1.16.5\JustAuth-1.16.5.jar;D:\maven\LocalMaven2\com\xkcoding\http\simple-http\1.0.5\simple-http-1.0.5.jar;D:\maven\LocalMaven2\org\apache\httpcomponents\httpclient\4.5.13\httpclient-4.5.13.jar;D:\maven\LocalMaven2\org\apache\httpcomponents\httpcore\4.4.15\httpcore-4.4.15.jar;E:\2.YuFuJianGuan\project-2024-04-18\yufujianguan-xxxinchanpin-prepaid_platform-\blade-service-api\blade-user-api\target\classes;D:\maven\LocalMaven2\org\springblade\blade-starter-cache\3.0.1.RELEASE\blade-starter-cache-3.0.1.RELEASE.jar;D:\maven\LocalMaven2\org\springframework\boot\spring-boot-starter-cache\2.7.1\spring-boot-starter-cache-2.7.1.jar;D:\maven\LocalMaven2\cn\hutool\hutool-all\5.7.13\hutool-all-5.7.13.jar;D:\maven\LocalMaven2\commons-codec\commons-codec\1.15\commons-codec-1.15.jar;D:\maven\LocalMaven2\org\springblade\blade-starter-mybatis\3.0.1.RELEASE\blade-starter-mybatis-3.0.1.RELEASE.jar;D:\maven\LocalMaven2\org\mybatis\mybatis-typehandlers-jsr310\1.0.2\mybatis-typehandlers-jsr310-1.0.2.jar;D:\maven\LocalMaven2\org\springblade\blade-starter-tenant\3.0.1.RELEASE\blade-starter-tenant-3.0.1.RELEASE.jar;D:\maven\LocalMaven2\com\baomidou\dynamic-datasource-spring-boot-starter\3.3.6\dynamic-datasource-spring-boot-starter-3.3.6.jar;D:\maven\LocalMaven2\org\springframework\cloud\spring-cloud-starter-openfeign\3.1.3\spring-cloud-starter-openfeign-3.1.3.jar;D:\maven\LocalMaven2\org\springframework\cloud\spring-cloud-starter\3.1.3\spring-cloud-starter-3.1.3.jar;D:\maven\LocalMaven2\org\springframework\security\spring-security-rsa\1.0.10.RELEASE\spring-security-rsa-1.0.10.RELEASE.jar;D:\maven\LocalMaven2\org\springframework\cloud\spring-cloud-openfeign-core\3.1.3\spring-cloud-openfeign-core-3.1.3.jar;D:\maven\LocalMaven2\io\github\openfeign\form\feign-form-spring\3.8.0\feign-form-spring-3.8.0.jar;D:\maven\LocalMaven2\io\github\openfeign\form\feign-form\3.8.0\feign-form-3.8.0.jar;D:\maven\LocalMaven2\commons-fileupload\commons-fileupload\1.3.3\commons-fileupload-1.3.3.jar;D:\maven\LocalMaven2\commons-io\commons-io\2.6\commons-io-2.6.jar;D:\maven\LocalMaven2\org\springframework\spring-web\5.3.21\spring-web-5.3.21.jar;D:\maven\LocalMaven2\org\springframework\cloud\spring-cloud-commons\3.1.3\spring-cloud-commons-3.1.3.jar;D:\maven\LocalMaven2\io\github\openfeign\feign-core\11.8\feign-core-11.8.jar;D:\maven\LocalMaven2\io\github\openfeign\feign-slf4j\11.8\feign-slf4j-11.8.jar;D:\maven\LocalMaven2\io\springfox\springfox-swagger2\2.10.5\springfox-swagger2-2.10.5.jar;D:\maven\LocalMaven2\io\springfox\springfox-spi\2.10.5\springfox-spi-2.10.5.jar;D:\maven\LocalMaven2\io\springfox\springfox-core\2.10.5\springfox-core-2.10.5.jar;D:\maven\LocalMaven2\io\springfox\springfox-schema\2.10.5\springfox-schema-2.10.5.jar;D:\maven\LocalMaven2\io\springfox\springfox-swagger-common\2.10.5\springfox-swagger-common-2.10.5.jar;D:\maven\LocalMaven2\io\springfox\springfox-spring-web\2.10.5\springfox-spring-web-2.10.5.jar;D:\maven\LocalMaven2\io\github\classgraph\classgraph\4.1.7\classgraph-4.1.7.jar;D:\maven\LocalMaven2\com\fasterxml\classmate\1.5.1\classmate-1.5.1.jar;D:\maven\LocalMaven2\org\springframework\plugin\spring-plugin-core\2.0.0.RELEASE\spring-plugin-core-2.0.0.RELEASE.jar;D:\maven\LocalMaven2\org\springframework\plugin\spring-plugin-metadata\2.0.0.RELEASE\spring-plugin-metadata-2.0.0.RELEASE.jar;D:\maven\LocalMaven2\org\mapstruct\mapstruct\1.3.1.Final\mapstruct-1.3.1.Final.jar;D:\maven\LocalMaven2\io\swagger\swagger-models\1.6.2\swagger-models-1.6.2.jar;E:\2.YuFuJianGuan\project-2024-04-18\yufujianguan-xxxinchanpin-prepaid_platform-\blade-service-api\blade-system-api\target\classes;D:\maven\LocalMaven2\org\springframework\boot\spring-boot-starter-security\2.7.1\spring-boot-starter-security-2.7.1.jar;D:\maven\LocalMaven2\org\springframework\boot\spring-boot-starter\2.7.1\spring-boot-starter-2.7.1.jar;D:\maven\LocalMaven2\org\springframework\boot\spring-boot\2.7.1\spring-boot-2.7.1.jar;D:\maven\LocalMaven2\org\springframework\boot\spring-boot-starter-logging\2.7.1\spring-boot-starter-logging-2.7.1.jar;D:\maven\LocalMaven2\ch\qos\logback\logback-classic\1.2.11\logback-classic-1.2.11.jar;D:\maven\LocalMaven2\ch\qos\logback\logback-core\1.2.11\logback-core-1.2.11.jar;D:\maven\LocalMaven2\org\apache\logging\log4j\log4j-to-slf4j\2.18.0\log4j-to-slf4j-2.18.0.jar;D:\maven\LocalMaven2\org\apache\logging\log4j\log4j-api\2.18.0\log4j-api-2.18.0.jar;D:\maven\LocalMaven2\org\slf4j\jul-to-slf4j\1.7.36\jul-to-slf4j-1.7.36.jar;D:\maven\LocalMaven2\jakarta\annotation\jakarta.annotation-api\1.3.5\jakarta.annotation-api-1.3.5.jar;D:\maven\LocalMaven2\org\yaml\snakeyaml\1.30\snakeyaml-1.30.jar;D:\maven\LocalMaven2\org\springframework\spring-aop\5.3.21\spring-aop-5.3.21.jar;D:\maven\LocalMaven2\org\springframework\security\spring-security-config\5.7.2\spring-security-config-5.7.2.jar;D:\maven\LocalMaven2\org\springframework\security\spring-security-web\5.7.2\spring-security-web-5.7.2.jar;D:\maven\LocalMaven2\org\springframework\spring-expression\5.3.21\spring-expression-5.3.21.jar;D:\maven\LocalMaven2\org\springframework\security\oauth\spring-security-oauth2\2.3.8.RELEASE\spring-security-oauth2-2.3.8.RELEASE.jar;D:\maven\LocalMaven2\org\springframework\spring-beans\5.3.21\spring-beans-5.3.21.jar;D:\maven\LocalMaven2\org\springframework\spring-core\5.3.21\spring-core-5.3.21.jar;D:\maven\LocalMaven2\org\springframework\spring-jcl\5.3.21\spring-jcl-5.3.21.jar;D:\maven\LocalMaven2\org\springframework\spring-context\5.3.21\spring-context-5.3.21.jar;D:\maven\LocalMaven2\org\springframework\spring-webmvc\5.3.21\spring-webmvc-5.3.21.jar;D:\maven\LocalMaven2\org\springframework\security\spring-security-core\5.7.2\spring-security-core-5.7.2.jar;D:\maven\LocalMaven2\org\springframework\security\spring-security-crypto\5.7.2\spring-security-crypto-5.7.2.jar;D:\maven\LocalMaven2\org\codehaus\jackson\jackson-mapper-asl\1.9.13\jackson-mapper-asl-1.9.13.jar;D:\maven\LocalMaven2\org\codehaus\jackson\jackson-core-asl\1.9.13\jackson-core-asl-1.9.13.jar;D:\maven\LocalMaven2\org\springframework\security\spring-security-jwt\1.0.10.RELEASE\spring-security-jwt-1.0.10.RELEASE.jar;D:\maven\LocalMaven2\org\bouncycastle\bcpkix-jdk15on\1.59\bcpkix-jdk15on-1.59.jar;D:\maven\LocalMaven2\org\springframework\data\spring-data-redis\2.7.1\spring-data-redis-2.7.1.jar;D:\maven\LocalMaven2\org\springframework\data\spring-data-keyvalue\2.7.1\spring-data-keyvalue-2.7.1.jar;D:\maven\LocalMaven2\org\springframework\data\spring-data-commons\2.7.1\spring-data-commons-2.7.1.jar;D:\maven\LocalMaven2\org\springframework\spring-tx\5.3.21\spring-tx-5.3.21.jar;D:\maven\LocalMaven2\org\springframework\spring-oxm\5.3.21\spring-oxm-5.3.21.jar;D:\maven\LocalMaven2\org\springframework\spring-context-support\5.3.21\spring-context-support-5.3.21.jar;D:\maven\LocalMaven2\org\slf4j\slf4j-api\1.7.36\slf4j-api-1.7.36.jar;D:\maven\LocalMaven2\com\github\whvcse\easy-captcha\1.6.2\easy-captcha-1.6.2.jar;D:\maven\LocalMaven2\org\springframework\boot\spring-boot-starter-freemarker\2.7.1\spring-boot-starter-freemarker-2.7.1.jar;D:\maven\LocalMaven2\org\freemarker\freemarker\2.3.31\freemarker-2.3.31.jar;D:\maven\LocalMaven2\org\projectlombok\lombok\1.18.22\lombok-1.18.22.jar;D:\maven\LocalMaven2\org\jboss\xnio\xnio-nio\3.3.8.Final\xnio-nio-3.3.8.Final.jar;D:\maven\LocalMaven2\org\jboss\xnio\xnio-api\3.3.8.Final\xnio-api-3.3.8.Final.jar org.springblade.auth.AuthApplication

----启动中,读取到的环境变量:[dev],jar地址:[/E:/2.YuFuJianGuan/project-2024-04-18/yufujianguan-xxxinchanpin-prepaid_platform-/blade-auth/target/classes/]----

2024-04-23 10:16:34.191  INFO 15896 --- [           main] c.a.n.p.a.s.c.ClientAuthPluginManager    : [ClientAuthPluginManager] Load ClientAuthService com.alibaba.nacos.client.auth.impl.NacosClientAuthServiceImpl success.

2024-04-23 10:16:34.191  INFO 15896 --- [           main] c.a.n.p.a.s.c.ClientAuthPluginManager    : [ClientAuthPluginManager] Load ClientAuthService com.alibaba.nacos.client.auth.ram.RamClientAuthServiceImpl success.


  .   ____          _            __ _ _

 /\\ / ___'_ __ _ _(_)_ __  __ _ \ \ \ \

( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \

 \\/  ___)| |_)| | | | | || (_| |  ) ) ) )

  '  |____| .__|_| |_|_| |_\__, | / / / /

 =========|_|==============|___/=/_/_/_/

 :: Spring Boot ::                (v2.7.1)


2024-04-23 10:16:35.525  WARN 15896 --- [           main] c.a.c.n.c.NacosPropertySourceBuilder     : Ignore the empty nacos configuration and get it based on dataId[blade-auth] & group[DEFAULT_GROUP]

2024-04-23 10:16:35.540  INFO 15896 --- [           main] b.c.PropertySourceBootstrapConfiguration : Located property source: [BootstrapPropertySource {name='bootstrapProperties-blade-auth-dev.yaml,DEFAULT_GROUP'}, BootstrapPropertySource {name='bootstrapProperties-blade-auth.yaml,DEFAULT_GROUP'}, BootstrapPropertySource {name='bootstrapProperties-blade-auth,DEFAULT_GROUP'}, BootstrapPropertySource {name='bootstrapProperties-blade-dev.yaml,DEFAULT_GROUP'}, BootstrapPropertySource {name='bootstrapProperties-blade.yaml,DEFAULT_GROUP'}]

2024-04-23 10:16:35.545  INFO 15896 --- [           main] org.springblade.auth.AuthApplication     : The following 1 profile is active: "dev"

2024-04-23 10:16:36.787  INFO 15896 --- [           main] .s.d.r.c.RepositoryConfigurationDelegate : Multiple Spring Data modules found, entering strict repository configuration mode

2024-04-23 10:16:36.790  INFO 15896 --- [           main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data Redis repositories in DEFAULT mode.

2024-04-23 10:16:36.817  INFO 15896 --- [           main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 10 ms. Found 0 Redis repository interfaces.

2024-04-23 10:16:36.992  WARN 15896 --- [           main] o.m.s.mapper.ClassPathMapperScanner      : No MyBatis mapper was found in '[org.springblade.auth]' package. Please check your configuration.

2024-04-23 10:16:37.074  INFO 15896 --- [           main] o.s.cloud.context.scope.GenericScope     : BeanFactory id=931e3b75-885c-3cc3-ac89-98587643f2b5

2024-04-23 10:16:37.078  INFO 15896 --- [           main] s.c.l.p.BladePropertySourcePostProcessor : BladePropertySourcePostProcessor init.

2024-04-23 10:16:37.122  INFO 15896 --- [           main] s.c.l.p.BladePropertySourcePostProcessor : BladePropertySourcePostProcessor process @BladePropertySource bean.

2024-04-23 10:16:37.359  INFO 15896 --- [           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)

2024-04-23 10:16:37.361  INFO 15896 --- [           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)

2024-04-23 10:16:37.362  INFO 15896 --- [           main] trationDelegate$BeanPostProcessorChecker : Bean 'loadBalancerClientsDefaultsMappingsProvider' of type [org.springframework.cloud.client.loadbalancer.LoadBalancerDefaultMappingsProviderAutoConfiguration$$Lambda$531/2006067420] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)

2024-04-23 10:16:37.365  INFO 15896 --- [           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)

2024-04-23 10:16:37.393  INFO 15896 --- [           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)

2024-04-23 10:16:37.397  INFO 15896 --- [           main] trationDelegate$BeanPostProcessorChecker : Bean 'com.baomidou.dynamic.datasource.spring.boot.autoconfigure.DynamicDataSourceAutoConfiguration' of type [com.baomidou.dynamic.datasource.spring.boot.autoconfigure.DynamicDataSourceAutoConfiguration$$EnhancerBySpringCGLIB$$ede30dbe] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)

2024-04-23 10:16:37.414  INFO 15896 --- [           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)

2024-04-23 10:16:37.493  INFO 15896 --- [           main] trationDelegate$BeanPostProcessorChecker : Bean 'spring.cloud.sentinel-com.alibaba.cloud.sentinel.SentinelProperties' of type [com.alibaba.cloud.sentinel.SentinelProperties] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)

INFO: Sentinel log output type is: file

INFO: Sentinel log charset is: utf-8

INFO: Sentinel log base directory is: C:\Users\Administrator\logs\csp\

INFO: Sentinel log name use pid is: false

INFO: Sentinel log level is: INFO

2024-04-23 10:16:37.553  INFO 15896 --- [           main] trationDelegate$BeanPostProcessorChecker : Bean 'com.alibaba.cloud.sentinel.custom.SentinelAutoConfiguration' of type [com.alibaba.cloud.sentinel.custom.SentinelAutoConfiguration] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)

2024-04-23 10:16:37.765  WARN 15896 --- [           main] io.undertow.websockets.jsr               : UT026010: Buffer pool was not set on WebSocketDeploymentInfo, the default pool will be used

2024-04-23 10:16:37.780  INFO 15896 --- [           main] io.undertow.servlet                      : Initializing Spring embedded WebApplicationContext

2024-04-23 10:16:37.780  INFO 15896 --- [           main] w.s.c.ServletWebServerApplicationContext : Root WebApplicationContext: initialization completed in 2223 ms

2024-04-23 10:16:37.884  WARN 15896 --- [           main] c.b.d.d.DynamicRoutingDataSource         : dynamic-datasource initial loaded [0] datasource,Please add your primary datasource or check your configuration

2024-04-23 10:16:38.262  INFO 15896 --- [           main] o.s.c.openfeign.FeignClientFactoryBean   : For 'blade-user' URL not provided. Will try picking an instance via load-balancing.

2024-04-23 10:16:38.663  INFO 15896 --- [           main] o.s.c.openfeign.FeignClientFactoryBean   : For 'blade-system' URL not provided. Will try picking an instance via load-balancing.

2024-04-23 10:16:39.382  INFO 15896 --- [           main] c.a.c.sentinel.SentinelWebMvcConfigurer  : [Sentinel Starter] register SentinelWebInterceptor with urlPatterns: [/**].

2024-04-23 10:16:39.393  INFO 15896 --- [           main] .c.c.v.BladeRequestMappingHandlerMapping : Mapped "{ [/error]}" onto org.springframework.boot.autoconfigure.web.servlet.error.BasicErrorController#error(HttpServletRequest)

2024-04-23 10:16:39.393  INFO 15896 --- [           main] .c.c.v.BladeRequestMappingHandlerMapping : Mapped "{GET [/oauth/confirm_access]}" onto org.springblade.auth.endpoint.BladeTokenEndPoint#confirm(HttpSession, ModelAndView)

2024-04-23 10:16:39.393  INFO 15896 --- [           main] .c.c.v.BladeRequestMappingHandlerMapping : Mapped "{GET [/oauth/user-info]}" onto org.springblade.auth.endpoint.BladeTokenEndPoint#currentUser(Authentication)

2024-04-23 10:16:39.393  INFO 15896 --- [           main] .c.c.v.BladeRequestMappingHandlerMapping : Mapped "{GET [/oauth/login]}" onto org.springblade.auth.endpoint.BladeTokenEndPoint#require(ModelAndView)

2024-04-23 10:16:39.393  INFO 15896 --- [           main] .c.c.v.BladeRequestMappingHandlerMapping : Mapped "{GET [/oauth/clear-cache]}" onto org.springblade.auth.endpoint.BladeTokenEndPoint#clearCache()

2024-04-23 10:16:39.393  INFO 15896 --- [           main] .c.c.v.BladeRequestMappingHandlerMapping : Mapped "{ [/swagger-resources/configuration/ui]}" onto springfox.documentation.swagger.web.ApiResourceController#uiConfiguration()

2024-04-23 10:16:39.393  INFO 15896 --- [           main] .c.c.v.BladeRequestMappingHandlerMapping : Mapped "{GET [/oauth/logout]}" onto org.springblade.auth.endpoint.BladeTokenEndPoint#logout()

2024-04-23 10:16:39.393  INFO 15896 --- [           main] .c.c.v.BladeRequestMappingHandlerMapping : Mapped "{ [/error], produces [text/html]}" onto org.springframework.boot.autoconfigure.web.servlet.error.BasicErrorController#errorHtml(HttpServletRequest, HttpServletResponse)

2024-04-23 10:16:39.393  INFO 15896 --- [           main] .c.c.v.BladeRequestMappingHandlerMapping : Mapped "{ [/swagger-resources/configuration/security]}" onto springfox.documentation.swagger.web.ApiResourceController#securityConfiguration()

2024-04-23 10:16:39.393  INFO 15896 --- [           main] .c.c.v.BladeRequestMappingHandlerMapping : Mapped "{ [/swagger-resources]}" onto springfox.documentation.swagger.web.ApiResourceController#swaggerResources()

2024-04-23 10:16:39.393  INFO 15896 --- [           main] .c.c.v.BladeRequestMappingHandlerMapping : Mapped "{GET [/oauth/captcha]}" onto org.springblade.auth.endpoint.BladeTokenEndPoint#captcha()

2024-04-23 10:16:39.725  INFO 15896 --- [           main] c.a.n.p.a.s.c.ClientAuthPluginManager    : [ClientAuthPluginManager] Load ClientAuthService com.alibaba.nacos.client.auth.impl.NacosClientAuthServiceImpl success.

2024-04-23 10:16:39.725  INFO 15896 --- [           main] c.a.n.p.a.s.c.ClientAuthPluginManager    : [ClientAuthPluginManager] Load ClientAuthService com.alibaba.nacos.client.auth.ram.RamClientAuthServiceImpl success.

2024-04-23 10:16:39.983  INFO 15896 --- [           main] o.s.b.a.e.web.EndpointLinksResolver      : Exposing 20 endpoint(s) beneath base path '/actuator'

2024-04-23 10:16:40.838  INFO 15896 --- [           main] f.a.AutowiredAnnotationBeanPostProcessor : Inconsistent constructor declaration on bean with name 'org.springblade.core.launch.server.ServerInfo': single autowire-marked constructor flagged as optional - this constructor is effectively required since there is no default constructor to fall back to: public org.springblade.core.launch.server.ServerInfo(org.springframework.boot.autoconfigure.web.ServerProperties)

2024-04-23 10:16:40.965  INFO 15896 --- [           main] pertySourcedRequestMappingHandlerMapping : Mapped URL path [/v2/api-docs] onto method [springfox.documentation.swagger2.web.Swagger2ControllerWebMvc#getDocumentation(String, HttpServletRequest)]

2024-04-23 10:16:41.215  WARN 15896 --- [           main] o.s.b.a.f.FreeMarkerAutoConfiguration    : Cannot find template location(s): [classpath:/templates/] (please add some templates, check your FreeMarker configuration, or set spring.freemarker.checkTemplateLocation=false)

2024-04-23 10:16:41.346  WARN 15896 --- [           main] o.s.s.c.a.web.builders.WebSecurity       : You are asking Spring Security to ignore Ant [pattern='/js/*.js']. This is not recommended -- please use permitAll via HttpSecurity#authorizeHttpRequests instead.

2024-04-23 10:16:41.347  INFO 15896 --- [           main] o.s.s.web.DefaultSecurityFilterChain     : Will not secure Ant [pattern='/js/*.js']

2024-04-23 10:16:41.347  WARN 15896 --- [           main] o.s.s.c.a.web.builders.WebSecurity       : You are asking Spring Security to ignore Ant [pattern='/css/*.css']. This is not recommended -- please use permitAll via HttpSecurity#authorizeHttpRequests instead.

2024-04-23 10:16:41.347  INFO 15896 --- [           main] o.s.s.web.DefaultSecurityFilterChain     : Will not secure Ant [pattern='/css/*.css']

2024-04-23 10:16:41.400  INFO 15896 --- [           main] o.s.s.web.DefaultSecurityFilterChain     : Will secure Or [Ant [pattern='/oauth/token'], Ant [pattern='/oauth/token_key'], Ant [pattern='/oauth/check_token']] with [org.springframework.security.web.session.DisableEncodeUrlFilter@21ebf9be, org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter@7d50b4c4, org.springframework.security.web.context.SecurityContextPersistenceFilter@2f51b100, org.springframework.security.web.header.HeaderWriterFilter@67b1c3af, org.springframework.security.web.authentication.logout.LogoutFilter@5b697993, org.springframework.security.oauth2.provider.client.ClientCredentialsTokenEndpointFilter@eb66b47, org.springframework.security.web.authentication.www.BasicAuthenticationFilter@77902ed6, org.springframework.security.web.savedrequest.RequestCacheAwareFilter@4b6fc231, org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter@7e4bbda4, org.springframework.security.web.authentication.AnonymousAuthenticationFilter@7860a014, org.springframework.security.web.session.SessionManagementFilter@2a5c115b, org.springframework.security.web.access.ExceptionTranslationFilter@58df2864, org.springframework.security.web.access.intercept.FilterSecurityInterceptor@54faa040]

2024-04-23 10:16:41.407  INFO 15896 --- [           main] o.s.s.web.DefaultSecurityFilterChain     : Will secure any request with [org.springframework.security.web.session.DisableEncodeUrlFilter@1d82d35c, org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter@1cb7f2fe, org.springframework.security.web.context.SecurityContextPersistenceFilter@20524816, org.springframework.security.web.header.HeaderWriterFilter@54a5eff, org.springframework.security.web.authentication.logout.LogoutFilter@2f006edf, org.springframework.security.web.authentication.UsernamePasswordAuthenticationFilter@28dd038f, org.springframework.security.web.authentication.www.BasicAuthenticationFilter@20843604, org.springframework.security.web.savedrequest.RequestCacheAwareFilter@6a7cbeed, org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter@3d96b8fb, org.springframework.security.web.authentication.AnonymousAuthenticationFilter@5cb64b9c, org.springframework.security.web.session.SessionManagementFilter@29612ee2, org.springframework.security.web.access.ExceptionTranslationFilter@73973e77]

2024-04-23 10:16:41.671  WARN 15896 --- [           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.

2024-04-23 10:16:41.893  INFO 15896 --- [           main] io.undertow                              : starting server: Undertow - 2.2.18.Final

2024-04-23 10:16:41.898  INFO 15896 --- [           main] org.xnio                                 : XNIO version 3.3.8.Final

2024-04-23 10:16:41.905  INFO 15896 --- [           main] org.xnio.nio                             : XNIO NIO Implementation Version 3.3.8.Final

2024-04-23 10:16:41.954  INFO 15896 --- [           main] o.s.b.w.e.undertow.UndertowWebServer     : Undertow started on port(s) 8080 (http)

2024-04-23 10:16:41.965  INFO 15896 --- [           main] c.a.c.n.registry.NacosServiceRegistry    : nacos registry, DEFAULT_GROUP blade-auth 192.168.2.25:8080 register finished

2024-04-23 10:16:42.206  INFO 15896 --- [           main] o.s.core.launch.StartEventListener       : ---[BLADE-AUTH]---启动完成,当前使用的端口:[8080],环境变量:[dev]---

2024-04-23 10:16:42.207  INFO 15896 --- [           main] d.s.w.p.DocumentationPluginsBootstrapper : Documentation plugins bootstrapped

2024-04-23 10:16:42.210  INFO 15896 --- [           main] d.s.w.p.DocumentationPluginsBootstrapper : Found 1 custom documentation plugin(s)

2024-04-23 10:16:42.236  INFO 15896 --- [           main] s.d.s.w.s.ApiListingReferenceScanner     : Scanning for api listing references

2024-04-23 10:16:42.367  INFO 15896 --- [           main] org.springblade.auth.AuthApplication     : Started AuthApplication in 9.176 seconds (JVM running for 9.916)

2024-04-23 10:16:42.375  INFO 15896 --- [           main] c.a.c.n.refresh.NacosContextRefresher    : listening config: dataId=blade-auth.yaml, group=DEFAULT_GROUP

2024-04-23 10:16:42.376  INFO 15896 --- [           main] c.a.c.n.refresh.NacosContextRefresher    : listening config: dataId=blade-auth-dev.yaml, group=DEFAULT_GROUP

2024-04-23 10:16:42.377  INFO 15896 --- [           main] c.a.c.n.refresh.NacosContextRefresher    : listening config: dataId=blade.yaml, group=DEFAULT_GROUP

2024-04-23 10:16:42.377  INFO 15896 --- [           main] c.a.c.n.refresh.NacosContextRefresher    : listening config: dataId=blade-dev.yaml, group=DEFAULT_GROUP

2024-04-23 10:16:42.377  INFO 15896 --- [           main] c.a.c.n.refresh.NacosContextRefresher    : listening config: dataId=blade-auth, group=DEFAULT_GROUP

2024-04-23 10:16:42.954  INFO 15896 --- [4)-192.168.2.25] io.undertow.servlet                      : Initializing Spring DispatcherServlet 'dispatcherServlet'

2024-04-23 10:16:42.954  INFO 15896 --- [4)-192.168.2.25] o.s.web.servlet.DispatcherServlet        : Initializing Servlet 'dispatcherServlet'

2024-04-23 10:16:42.958  INFO 15896 --- [4)-192.168.2.25] o.s.web.servlet.DispatcherServlet        : Completed initialization in 4 ms

2024-04-23 10:16:42.967  WARN 15896 --- [5)-192.168.2.25] o.s.b.a.jdbc.DataSourceHealthIndicator   : DataSource health check failed


com.baomidou.dynamic.datasource.exception.CannotFindDataSourceException: dynamic-datasource can not find primary datasource

at com.baomidou.dynamic.datasource.DynamicRoutingDataSource.determinePrimaryDataSource(DynamicRoutingDataSource.java:83) ~[dynamic-datasource-spring-boot-starter-3.3.6.jar:3.3.6]

at com.baomidou.dynamic.datasource.DynamicRoutingDataSource.getDataSource(DynamicRoutingDataSource.java:112) ~[dynamic-datasource-spring-boot-starter-3.3.6.jar:3.3.6]

at com.baomidou.dynamic.datasource.DynamicRoutingDataSource.determineDataSource(DynamicRoutingDataSource.java:70) ~[dynamic-datasource-spring-boot-starter-3.3.6.jar:3.3.6]

at com.baomidou.dynamic.datasource.ds.AbstractRoutingDataSource.getConnection(AbstractRoutingDataSource.java:43) ~[dynamic-datasource-spring-boot-starter-3.3.6.jar:3.3.6]

at org.springframework.jdbc.datasource.DataSourceUtils.fetchConnection(DataSourceUtils.java:159) ~[spring-jdbc-5.3.21.jar:5.3.21]

at org.springframework.jdbc.datasource.DataSourceUtils.doGetConnection(DataSourceUtils.java:117) ~[spring-jdbc-5.3.21.jar:5.3.21]

at org.springframework.jdbc.datasource.DataSourceUtils.getConnection(DataSourceUtils.java:80) ~[spring-jdbc-5.3.21.jar:5.3.21]

at org.springframework.jdbc.core.JdbcTemplate.execute(JdbcTemplate.java:330) ~[spring-jdbc-5.3.21.jar:5.3.21]

at org.springframework.boot.actuate.jdbc.DataSourceHealthIndicator.getProduct(DataSourceHealthIndicator.java:122) ~[spring-boot-actuator-2.7.1.jar:2.7.1]

at org.springframework.boot.actuate.jdbc.DataSourceHealthIndicator.doDataSourceHealthCheck(DataSourceHealthIndicator.java:105) ~[spring-boot-actuator-2.7.1.jar:2.7.1]

at org.springframework.boot.actuate.jdbc.DataSourceHealthIndicator.doHealthCheck(DataSourceHealthIndicator.java:100) ~[spring-boot-actuator-2.7.1.jar:2.7.1]

at org.springframework.boot.actuate.health.AbstractHealthIndicator.health(AbstractHealthIndicator.java:82) ~[spring-boot-actuator-2.7.1.jar:2.7.1]

at org.springframework.boot.actuate.health.HealthIndicator.getHealth(HealthIndicator.java:37) [spring-boot-actuator-2.7.1.jar:2.7.1]

at org.springframework.boot.actuate.health.HealthEndpoint.getHealth(HealthEndpoint.java:93) [spring-boot-actuator-2.7.1.jar:2.7.1]

at org.springframework.boot.actuate.health.HealthEndpoint.getHealth(HealthEndpoint.java:41) [spring-boot-actuator-2.7.1.jar:2.7.1]

at org.springframework.boot.actuate.health.HealthEndpointSupport.getLoggedHealth(HealthEndpointSupport.java:172) [spring-boot-actuator-2.7.1.jar:2.7.1]

at org.springframework.boot.actuate.health.HealthEndpointSupport.getContribution(HealthEndpointSupport.java:145) [spring-boot-actuator-2.7.1.jar:2.7.1]

at org.springframework.boot.actuate.health.HealthEndpointSupport.getAggregateContribution(HealthEndpointSupport.java:156) [spring-boot-actuator-2.7.1.jar:2.7.1]

at org.springframework.boot.actuate.health.HealthEndpointSupport.getContribution(HealthEndpointSupport.java:141) [spring-boot-actuator-2.7.1.jar:2.7.1]

at org.springframework.boot.actuate.health.HealthEndpointSupport.getHealth(HealthEndpointSupport.java:110) [spring-boot-actuator-2.7.1.jar:2.7.1]

at org.springframework.boot.actuate.health.HealthEndpointSupport.getHealth(HealthEndpointSupport.java:81) [spring-boot-actuator-2.7.1.jar:2.7.1]

at org.springframework.boot.actuate.health.HealthEndpoint.health(HealthEndpoint.java:87) [spring-boot-actuator-2.7.1.jar:2.7.1]

at org.springframework.boot.actuate.health.HealthEndpoint.health(HealthEndpoint.java:77) [spring-boot-actuator-2.7.1.jar:2.7.1]

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0_171]

at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[na:1.8.0_171]

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.8.0_171]

at java.lang.reflect.Method.invoke(Method.java:498) ~[na:1.8.0_171]

at org.springframework.util.ReflectionUtils.invokeMethod(ReflectionUtils.java:282) [spring-core-5.3.21.jar:5.3.21]

at org.springframework.boot.actuate.endpoint.invoke.reflect.ReflectiveOperationInvoker.invoke(ReflectiveOperationInvoker.java:74) [spring-boot-actuator-2.7.1.jar:2.7.1]

at org.springframework.b

1条回答
  • 多数据源参考这个服务配置:https://center.javablade.com/blade/BladeX-Biz/src/branch/master/blade-service/blade-demo

    作者追问:2024-04-23 11:18

    3.0.1.RELEASE这个版本的cloud项目要想按照demo那样都需要改那些部分
    0 讨论(0)
提交回复