didi / KnowStreaming

一站式云原生实时流数据平台,通过0侵入、插件化构建企业级Kafka服务,极大降低操作、存储和管理实时流数据门槛
https://knowstreaming.com
GNU Affero General Public License v3.0
6.99k stars 1.28k forks source link

本地跑maste分支源码,出现创建bean失败 #959

Open Dawei-Simayi opened 1 year ago

Dawei-Simayi commented 1 year ago

创建auvSqlSessionFactory beans失败

km-rest application.yml:

server:
  port: 8080 # 服务端口
  tomcat:
    accept-count: 1000
    max-connections: 10000
spring:
  application:
    name: know-streaming
  profiles:
    active: dev
  main:
    allow-bean-definition-overriding: true
  jackson:
    time-zone: GMT+8
  datasource:
    know-streaming:
      jdbc-url: jdbc:mysql://127.0.0.1:3306/know_streaming?useUnicode=true&characterEncoding=utf-8&useSSL=true&serverTimezone=UTC
      username: root
      password: root
      driver-class-name: com.mysql.jdbc.Driver
  logi-job:
    jdbc-url: jdbc:mysql://127.0.0.1:3306/know_streaming?useUnicode=true&characterEncoding=utf-8&useSSL=true&serverTimezone=UTC
    username: root
    password: root
    driver-class-name: com.mysql.jdbc.Driver
  logi-security:
    jdbc-url: jdbc:mysql://127.0.0.1:3306/know_streaming?useUnicode=true&characterEncoding=utf-8&useSSL=true&serverTimezone=UTC
    username: root
    password: root
    driver-class-name: com.mysql.jdbc.Driver

logging:
  config: classpath:logback-spring.xml

# 线程池大小相关配置
thread-pool:
  scheduled:
    thread-num: 2 # @Scheduled任务的线程池大小,默认是一个
  collector:                        # 采集模块的配置
    future-util:                    # 采集模块线程池配置
      num: 3                        # 线程池个数
      thread-num: 64                # 每个线程池核心线程数
      queue-size: 10000             # 每个线程池队列大小
      select-suitable-enable: true  # 任务是否自动选择合适的线程池,非主要,可不修改
      suitable-queue-size: 1000     # 线程池理想的队列大小,非主要,可不修改
  task:                             # 任务模块的配置
    metrics:                        # metrics采集任务配置
      thread-num: 18                # metrics采集任务线程池核心线程数
      queue-size: 180               # metrics采集任务线程池队列大小
    metadata:                       # metadata同步任务配置
      thread-num: 27                # metadata同步任务线程池核心线程数
      queue-size: 270               # metadata同步任务线程池队列大小
    common:                         # 剩余其他任务配置
      thread-num: 15                # 剩余其他任务线程池核心线程数
      queue-size: 150               # 剩余其他任务线程池队列大小
  es:
    search:                         # es查询线程池
      thread-num: 10                # 线程池大小
      queue-size: 5000              # 队列大小

# 客户端池大小相关配置
client-pool:
  kafka-consumer:
    min-idle-client-num: 2        # 最小空闲客户端数
    max-idle-client-num: 20       # 最大空闲客户端数
    max-total-client-num: 20      # 最大客户端数
    borrow-timeout-unit-ms: 5000  # 租借超时时间,单位秒
  kafka-admin:
    client-cnt: 1                 # 每个Kafka集群创建的KafkaAdminClient数

# ES客户端配置
es:
  client:
    address: https://localhost:9200/
    pass:                         # ES账号密码,如果有账号密码,按照 username:password 的格式填写,没有则不需要填写
    client-cnt: 2                 # 创建的ES客户端数
    io-thread-cnt: 2
    max-retry-cnt: 5
    username: elastic
    password: nvx9USSU*rF+eIBz-DkS
  index:
    expire: 15                    # 索引过期天数,15表示超过15天的索引会被KS过期删除

# 普罗米修斯指标导出相关配置
management:
  endpoints:
    web:
      base-path: /metrics
      exposure:
        include: '*'
  health:
    elasticsearch:
      enabled: false
  metrics:
    export:
      prometheus:
        descriptions: true
        enabled: true
    tags:
      application: know-streaming

错误日志:

/home/morty/.sdkman/candidates/java/17.0.6-zulu/bin/java -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:/home/morty/tools/idea-IU-222.4459.24/lib/idea_rt.jar=40083:/home/morty/tools/idea-IU-222.4459.24/bin -Dfile.encoding=UTF-8 -classpath /home/morty/project/knowstreamingDir/KnowStreaming/km-rest/target/classes:/home/morty/project/knowstreamingDir/KnowStreaming/km-extends/km-account/target/classes:/home/morty/project/knowstreamingDir/KnowStreaming/km-common/target/classes:/home/morty/.m2/repository/org/apache/zookeeper/zookeeper/3.6.3/zookeeper-3.6.3.jar:/home/morty/.m2/repository/org/apache/zookeeper/zookeeper-jute/3.6.3/zookeeper-jute-3.6.3.jar:/home/morty/.m2/repository/org/apache/yetus/audience-annotations/0.5.0/audience-annotations-0.5.0.jar:/home/morty/.m2/repository/io/netty/netty-handler/4.1.55.Final/netty-handler-4.1.55.Final.jar:/home/morty/.m2/repository/io/netty/netty-common/4.1.55.Final/netty-common-4.1.55.Final.jar:/home/morty/.m2/repository/io/netty/netty-resolver/4.1.55.Final/netty-resolver-4.1.55.Final.jar:/home/morty/.m2/repository/io/netty/netty-buffer/4.1.55.Final/netty-buffer-4.1.55.Final.jar:/home/morty/.m2/repository/io/netty/netty-transport/4.1.55.Final/netty-transport-4.1.55.Final.jar:/home/morty/.m2/repository/io/netty/netty-codec/4.1.55.Final/netty-codec-4.1.55.Final.jar:/home/morty/.m2/repository/io/netty/netty-transport-native-epoll/4.1.55.Final/netty-transport-native-epoll-4.1.55.Final.jar:/home/morty/.m2/repository/io/netty/netty-transport-native-unix-common/4.1.55.Final/netty-transport-native-unix-common-4.1.55.Final.jar:/home/morty/.m2/repository/log4j/log4j/1.2.17/log4j-1.2.17.jar:/home/morty/.m2/repository/commons-beanutils/commons-beanutils/1.9.4/commons-beanutils-1.9.4.jar:/home/morty/.m2/repository/commons-logging/commons-logging/1.2/commons-logging-1.2.jar:/home/morty/.m2/repository/commons-collections/commons-collections/3.2.2/commons-collections-3.2.2.jar:/home/morty/.m2/repository/org/apache/commons/commons-pool2/2.6.2/commons-pool2-2.6.2.jar:/home/morty/.m2/repository/com/google/code/findbugs/jsr305/3.0.2/jsr305-3.0.2.jar:/home/morty/.m2/repository/org/projectlombok/lombok/1.18.20/lombok-1.18.20.jar:/home/morty/.m2/repository/io/github/zqrferrari/logi-log/1.0.6/logi-log-1.0.6.jar:/home/morty/.m2/repository/org/apache/logging/log4j/log4j-1.2-api/2.16.0/log4j-1.2-api-2.16.0.jar:/home/morty/.m2/repository/org/apache/logging/log4j/log4j-core/2.16.0/log4j-core-2.16.0.jar:/home/morty/.m2/repository/org/apache/logging/log4j/log4j-jcl/2.16.0/log4j-jcl-2.16.0.jar:/home/morty/.m2/repository/org/apache/httpcomponents/httpmime/4.5.13/httpmime-4.5.13.jar:/home/morty/.m2/repository/org/apache/httpcomponents/httpclient/4.5.13/httpclient-4.5.13.jar:/home/morty/.m2/repository/org/apache/httpcomponents/fluent-hc/4.5.13/fluent-hc-4.5.13.jar:/home/morty/.m2/repository/net/sf/dozer/dozer/5.5.1/dozer-5.5.1.jar:/home/morty/.m2/repository/org/slf4j/jcl-over-slf4j/1.7.30/jcl-over-slf4j-1.7.30.jar:/home/morty/project/knowstreamingDir/KnowStreaming/km-extends/km-monitor/target/classes:/home/morty/project/knowstreamingDir/KnowStreaming/km-persistence/target/classes:/home/morty/.m2/repository/org/mariadb/jdbc/mariadb-java-client/3.0.5/mariadb-java-client-3.0.5.jar:/home/morty/.m2/repository/io/github/zqrferrari/logi-elasticsearch-client/1.0.24/logi-elasticsearch-client-1.0.24.jar:/home/morty/.m2/repository/org/elasticsearch/elasticsearch/2.3.3/elasticsearch-2.3.3.jar:/home/morty/.m2/repository/org/apache/lucene/lucene-core/5.5.0/lucene-core-5.5.0.jar:/home/morty/.m2/repository/org/apache/lucene/lucene-backward-codecs/5.5.0/lucene-backward-codecs-5.5.0.jar:/home/morty/.m2/repository/org/apache/lucene/lucene-analyzers-common/5.5.0/lucene-analyzers-common-5.5.0.jar:/home/morty/.m2/repository/org/apache/lucene/lucene-queries/5.5.0/lucene-queries-5.5.0.jar:/home/morty/.m2/repository/org/apache/lucene/lucene-memory/5.5.0/lucene-memory-5.5.0.jar:/home/morty/.m2/repository/org/apache/lucene/lucene-highlighter/5.5.0/lucene-highlighter-5.5.0.jar:/home/morty/.m2/repository/org/apache/lucene/lucene-queryparser/5.5.0/lucene-queryparser-5.5.0.jar:/home/morty/.m2/repository/org/apache/lucene/lucene-sandbox/5.5.0/lucene-sandbox-5.5.0.jar:/home/morty/.m2/repository/org/apache/lucene/lucene-suggest/5.5.0/lucene-suggest-5.5.0.jar:/home/morty/.m2/repository/org/apache/lucene/lucene-misc/5.5.0/lucene-misc-5.5.0.jar:/home/morty/.m2/repository/org/apache/lucene/lucene-join/5.5.0/lucene-join-5.5.0.jar:/home/morty/.m2/repository/org/apache/lucene/lucene-grouping/5.5.0/lucene-grouping-5.5.0.jar:/home/morty/.m2/repository/org/apache/lucene/lucene-spatial/5.5.0/lucene-spatial-5.5.0.jar:/home/morty/.m2/repository/org/apache/lucene/lucene-spatial3d/5.5.0/lucene-spatial3d-5.5.0.jar:/home/morty/.m2/repository/com/spatial4j/spatial4j/0.5/spatial4j-0.5.jar:/home/morty/.m2/repository/org/elasticsearch/securesm/1.0/securesm-1.0.jar:/home/morty/.m2/repository/com/carrotsearch/hppc/0.7.1/hppc-0.7.1.jar:/home/morty/.m2/repository/joda-time/joda-time/2.8.2/joda-time-2.8.2.jar:/home/morty/.m2/repository/org/joda/joda-convert/1.2/joda-convert-1.2.jar:/home/morty/.m2/repository/com/fasterxml/jackson/dataformat/jackson-dataformat-smile/2.11.3/jackson-dataformat-smile-2.11.3.jar:/home/morty/.m2/repository/com/fasterxml/jackson/dataformat/jackson-dataformat-yaml/2.11.3/jackson-dataformat-yaml-2.11.3.jar:/home/morty/.m2/repository/com/fasterxml/jackson/dataformat/jackson-dataformat-cbor/2.11.3/jackson-dataformat-cbor-2.11.3.jar:/home/morty/.m2/repository/io/netty/netty/3.10.5.Final/netty-3.10.5.Final.jar:/home/morty/.m2/repository/com/ning/compress-lzf/1.0.2/compress-lzf-1.0.2.jar:/home/morty/.m2/repository/com/tdunning/t-digest/3.0/t-digest-3.0.jar:/home/morty/.m2/repository/com/twitter/jsr166e/1.1.0/jsr166e-1.1.0.jar:/home/morty/.m2/repository/com/alibaba/druid/1.0.29/druid-1.0.29.jar:/home/morty/.m2/repository/org/nlpcn/elasticsearch-sql/2.3.5.0/elasticsearch-sql-2.3.5.0.jar:/home/morty/.m2/repository/com/vividsolutions/jts/1.13/jts-1.13.jar:/home/morty/.m2/repository/org/elasticsearch/client/elasticsearch-rest-client/6.6.2/elasticsearch-rest-client-6.6.2.jar:/home/morty/.m2/repository/org/apache/httpcomponents/httpcore/4.4.14/httpcore-4.4.14.jar:/home/morty/.m2/repository/org/apache/httpcomponents/httpasyncclient/4.1.4/httpasyncclient-4.1.4.jar:/home/morty/.m2/repository/org/apache/httpcomponents/httpcore-nio/4.4.14/httpcore-nio-4.4.14.jar:/home/morty/.m2/repository/org/apache/commons/commons-lang3/3.10/commons-lang3-3.10.jar:/home/morty/.m2/repository/javax/servlet/javax.servlet-api/4.0.1/javax.servlet-api-4.0.1.jar:/home/morty/project/knowstreamingDir/KnowStreaming/km-core/target/classes:/home/morty/.m2/repository/org/springframework/spring-web/5.2.12.RELEASE/spring-web-5.2.12.RELEASE.jar:/home/morty/.m2/repository/org/springframework/spring-test/5.2.12.RELEASE/spring-test-5.2.12.RELEASE.jar:/home/morty/.m2/repository/javax/annotation/javax.annotation-api/1.3.2/javax.annotation-api-1.3.2.jar:/home/morty/.m2/repository/commons-lang/commons-lang/2.6/commons-lang-2.6.jar:/home/morty/.m2/repository/commons-codec/commons-codec/1.13/commons-codec-1.13.jar:/home/morty/.m2/repository/org/eclipse/jetty/jetty-util/9.4.39.v20210325/jetty-util-9.4.39.v20210325.jar:/home/morty/.m2/repository/commons-io/commons-io/2.6/commons-io-2.6.jar:/home/morty/.m2/repository/net/sf/jopt-simple/jopt-simple/5.0.4/jopt-simple-5.0.4.jar:/home/morty/.m2/repository/com/alibaba/fastjson/1.2.83/fastjson-1.2.83.jar:/home/morty/.m2/repository/com/fasterxml/jackson/core/jackson-databind/2.11.3/jackson-databind-2.11.3.jar:/home/morty/.m2/repository/com/fasterxml/jackson/core/jackson-annotations/2.11.3/jackson-annotations-2.11.3.jar:/home/morty/.m2/repository/com/fasterxml/jackson/core/jackson-core/2.11.3/jackson-core-2.11.3.jar:/home/morty/.m2/repository/org/apache/kafka/kafka_2.13/2.8.1/kafka_2.13-2.8.1.jar:/home/morty/.m2/repository/org/apache/kafka/kafka-metadata/2.8.1/kafka-metadata-2.8.1.jar:/home/morty/.m2/repository/org/apache/kafka/kafka-raft/2.8.1/kafka-raft-2.8.1.jar:/home/morty/.m2/repository/net/sourceforge/argparse4j/argparse4j/0.7.0/argparse4j-0.7.0.jar:/home/morty/.m2/repository/com/fasterxml/jackson/module/jackson-module-scala_2.13/2.11.3/jackson-module-scala_2.13-2.11.3.jar:/home/morty/.m2/repository/com/fasterxml/jackson/module/jackson-module-paranamer/2.11.3/jackson-module-paranamer-2.11.3.jar:/home/morty/.m2/repository/com/thoughtworks/paranamer/paranamer/2.8/paranamer-2.8.jar:/home/morty/.m2/repository/com/fasterxml/jackson/dataformat/jackson-dataformat-csv/2.11.3/jackson-dataformat-csv-2.11.3.jar:/home/morty/.m2/repository/com/fasterxml/jackson/datatype/jackson-datatype-jdk8/2.11.3/jackson-datatype-jdk8-2.11.3.jar:/home/morty/.m2/repository/com/yammer/metrics/metrics-core/2.2.0/metrics-core-2.2.0.jar:/home/morty/.m2/repository/org/scala-lang/modules/scala-collection-compat_2.13/2.3.0/scala-collection-compat_2.13-2.3.0.jar:/home/morty/.m2/repository/org/scala-lang/modules/scala-java8-compat_2.13/0.9.1/scala-java8-compat_2.13-0.9.1.jar:/home/morty/.m2/repository/org/scala-lang/scala-library/2.13.5/scala-library-2.13.5.jar:/home/morty/.m2/repository/org/scala-lang/scala-reflect/2.13.5/scala-reflect-2.13.5.jar:/home/morty/.m2/repository/com/typesafe/scala-logging/scala-logging_2.13/3.9.2/scala-logging_2.13-3.9.2.jar:/home/morty/.m2/repository/commons-cli/commons-cli/1.4/commons-cli-1.4.jar:/home/morty/.m2/repository/org/apache/kafka/connect-runtime/2.8.1/connect-runtime-2.8.1.jar:/home/morty/.m2/repository/org/apache/kafka/kafka-tools/2.8.1/kafka-tools-2.8.1.jar:/home/morty/.m2/repository/org/apache/kafka/kafka-log4j-appender/2.8.1/kafka-log4j-appender-2.8.1.jar:/home/morty/.m2/repository/org/apache/kafka/connect-json/2.8.1/connect-json-2.8.1.jar:/home/morty/.m2/repository/com/fasterxml/jackson/jaxrs/jackson-jaxrs-json-provider/2.11.3/jackson-jaxrs-json-provider-2.11.3.jar:/home/morty/.m2/repository/com/fasterxml/jackson/jaxrs/jackson-jaxrs-base/2.11.3/jackson-jaxrs-base-2.11.3.jar:/home/morty/.m2/repository/com/fasterxml/jackson/module/jackson-module-jaxb-annotations/2.11.3/jackson-module-jaxb-annotations-2.11.3.jar:/home/morty/.m2/repository/org/glassfish/jersey/containers/jersey-container-servlet/2.30.1/jersey-container-servlet-2.30.1.jar:/home/morty/.m2/repository/org/glassfish/jersey/containers/jersey-container-servlet-core/2.30.1/jersey-container-servlet-core-2.30.1.jar:/home/morty/.m2/repository/org/glassfish/hk2/external/jakarta.inject/2.6.1/jakarta.inject-2.6.1.jar:/home/morty/.m2/repository/org/glassfish/jersey/core/jersey-common/2.30.1/jersey-common-2.30.1.jar:/home/morty/.m2/repository/org/glassfish/hk2/osgi-resource-locator/1.0.3/osgi-resource-locator-1.0.3.jar:/home/morty/.m2/repository/com/sun/activation/jakarta.activation/1.2.2/jakarta.activation-1.2.2.jar:/home/morty/.m2/repository/org/glassfish/jersey/core/jersey-server/2.30.1/jersey-server-2.30.1.jar:/home/morty/.m2/repository/org/glassfish/jersey/core/jersey-client/2.30.1/jersey-client-2.30.1.jar:/home/morty/.m2/repository/org/glassfish/jersey/media/jersey-media-jaxb/2.30.1/jersey-media-jaxb-2.30.1.jar:/home/morty/.m2/repository/jakarta/ws/rs/jakarta.ws.rs-api/2.1.6/jakarta.ws.rs-api-2.1.6.jar:/home/morty/.m2/repository/org/glassfish/jersey/inject/jersey-hk2/2.30.1/jersey-hk2-2.30.1.jar:/home/morty/.m2/repository/org/glassfish/hk2/hk2-locator/2.6.1/hk2-locator-2.6.1.jar:/home/morty/.m2/repository/org/glassfish/hk2/external/aopalliance-repackaged/2.6.1/aopalliance-repackaged-2.6.1.jar:/home/morty/.m2/repository/org/glassfish/hk2/hk2-api/2.6.1/hk2-api-2.6.1.jar:/home/morty/.m2/repository/org/glassfish/hk2/hk2-utils/2.6.1/hk2-utils-2.6.1.jar:/home/morty/.m2/repository/org/javassist/javassist/3.25.0-GA/javassist-3.25.0-GA.jar:/home/morty/.m2/repository/javax/xml/bind/jaxb-api/2.3.1/jaxb-api-2.3.1.jar:/home/morty/.m2/repository/javax/activation/javax.activation-api/1.2.0/javax.activation-api-1.2.0.jar:/home/morty/.m2/repository/javax/activation/activation/1.1.1/activation-1.1.1.jar:/home/morty/.m2/repository/org/eclipse/jetty/jetty-server/9.4.35.v20201120/jetty-server-9.4.35.v20201120.jar:/home/morty/.m2/repository/org/eclipse/jetty/jetty-http/9.4.35.v20201120/jetty-http-9.4.35.v20201120.jar:/home/morty/.m2/repository/org/eclipse/jetty/jetty-io/9.4.35.v20201120/jetty-io-9.4.35.v20201120.jar:/home/morty/.m2/repository/org/eclipse/jetty/jetty-servlet/9.4.35.v20201120/jetty-servlet-9.4.35.v20201120.jar:/home/morty/.m2/repository/org/eclipse/jetty/jetty-security/9.4.35.v20201120/jetty-security-9.4.35.v20201120.jar:/home/morty/.m2/repository/org/eclipse/jetty/jetty-util-ajax/9.4.35.v20201120/jetty-util-ajax-9.4.35.v20201120.jar:/home/morty/.m2/repository/org/eclipse/jetty/jetty-servlets/9.4.35.v20201120/jetty-servlets-9.4.35.v20201120.jar:/home/morty/.m2/repository/org/eclipse/jetty/jetty-continuation/9.4.35.v20201120/jetty-continuation-9.4.35.v20201120.jar:/home/morty/.m2/repository/org/eclipse/jetty/jetty-client/9.4.35.v20201120/jetty-client-9.4.35.v20201120.jar:/home/morty/.m2/repository/org/reflections/reflections/0.9.12/reflections-0.9.12.jar:/home/morty/.m2/repository/org/apache/maven/maven-artifact/3.8.1/maven-artifact-3.8.1.jar:/home/morty/.m2/repository/org/codehaus/plexus/plexus-utils/3.2.1/plexus-utils-3.2.1.jar:/home/morty/project/knowstreamingDir/KnowStreaming/km-biz/target/classes:/home/morty/.m2/repository/org/springframework/spring-context/5.2.12.RELEASE/spring-context-5.2.12.RELEASE.jar:/home/morty/.m2/repository/org/springframework/spring-expression/5.2.12.RELEASE/spring-expression-5.2.12.RELEASE.jar:/home/morty/project/knowstreamingDir/KnowStreaming/km-task/target/classes:/home/morty/.m2/repository/io/github/zqrferrari/logi-job-spring-boot-starter/1.0.23/logi-job-spring-boot-starter-1.0.23.jar:/home/morty/.m2/repository/org/mybatis/spring/boot/mybatis-spring-boot-starter/2.2.0/mybatis-spring-boot-starter-2.2.0.jar:/home/morty/.m2/repository/org/mybatis/spring/boot/mybatis-spring-boot-autoconfigure/2.2.0/mybatis-spring-boot-autoconfigure-2.2.0.jar:/home/morty/.m2/repository/org/mybatis/mybatis/3.5.7/mybatis-3.5.7.jar:/home/morty/.m2/repository/org/mybatis/mybatis-spring/2.0.6/mybatis-spring-2.0.6.jar:/home/morty/.m2/repository/com/github/oshi/oshi-core/5.6.1/oshi-core-5.6.1.jar:/home/morty/.m2/repository/net/java/dev/jna/jna/5.8.0/jna-5.8.0.jar:/home/morty/.m2/repository/net/java/dev/jna/jna-platform/5.8.0/jna-platform-5.8.0.jar:/home/morty/project/knowstreamingDir/KnowStreaming/km-collector/target/classes:/home/morty/.m2/repository/org/springframework/spring-webmvc/5.2.12.RELEASE/spring-webmvc-5.2.12.RELEASE.jar:/home/morty/project/knowstreamingDir/KnowStreaming/km-enterprise/km-ha/target/classes:/home/morty/.m2/repository/org/apache/kafka/kafka-clients/2.8.1/kafka-clients-2.8.1.jar:/home/morty/.m2/repository/com/github/luben/zstd-jni/1.4.9-1/zstd-jni-1.4.9-1.jar:/home/morty/.m2/repository/org/lz4/lz4-java/1.7.1/lz4-java-1.7.1.jar:/home/morty/.m2/repository/org/xerial/snappy/snappy-java/1.1.8.1/snappy-java-1.1.8.1.jar:/home/morty/.m2/repository/org/slf4j/slf4j-api/1.7.30/slf4j-api-1.7.30.jar:/home/morty/.m2/repository/io/springfox/springfox-swagger2/2.9.2/springfox-swagger2-2.9.2.jar:/home/morty/.m2/repository/io/swagger/swagger-annotations/1.5.21/swagger-annotations-1.5.21.jar:/home/morty/.m2/repository/io/swagger/swagger-models/1.5.21/swagger-models-1.5.21.jar:/home/morty/.m2/repository/io/springfox/springfox-spi/2.9.2/springfox-spi-2.9.2.jar:/home/morty/.m2/repository/io/springfox/springfox-core/2.9.2/springfox-core-2.9.2.jar:/home/morty/.m2/repository/io/springfox/springfox-schema/2.9.2/springfox-schema-2.9.2.jar:/home/morty/.m2/repository/io/springfox/springfox-swagger-common/2.9.2/springfox-swagger-common-2.9.2.jar:/home/morty/.m2/repository/io/springfox/springfox-spring-web/2.9.2/springfox-spring-web-2.9.2.jar:/home/morty/.m2/repository/com/google/guava/guava/25.0-jre/guava-25.0-jre.jar:/home/morty/.m2/repository/org/checkerframework/checker-compat-qual/2.0.0/checker-compat-qual-2.0.0.jar:/home/morty/.m2/repository/com/google/j2objc/j2objc-annotations/1.1/j2objc-annotations-1.1.jar:/home/morty/.m2/repository/org/codehaus/mojo/animal-sniffer-annotations/1.14/animal-sniffer-annotations-1.14.jar:/home/morty/.m2/repository/com/fasterxml/classmate/1.5.1/classmate-1.5.1.jar:/home/morty/.m2/repository/org/springframework/plugin/spring-plugin-core/1.2.0.RELEASE/spring-plugin-core-1.2.0.RELEASE.jar:/home/morty/.m2/repository/org/springframework/plugin/spring-plugin-metadata/1.2.0.RELEASE/spring-plugin-metadata-1.2.0.RELEASE.jar:/home/morty/.m2/repository/org/mapstruct/mapstruct/1.2.0.Final/mapstruct-1.2.0.Final.jar:/home/morty/.m2/repository/io/springfox/springfox-swagger-ui/2.9.2/springfox-swagger-ui-2.9.2.jar:/home/morty/.m2/repository/org/springframework/boot/spring-boot-starter-web/2.3.7.RELEASE/spring-boot-starter-web-2.3.7.RELEASE.jar:/home/morty/.m2/repository/org/springframework/boot/spring-boot-starter/2.3.7.RELEASE/spring-boot-starter-2.3.7.RELEASE.jar:/home/morty/.m2/repository/jakarta/annotation/jakarta.annotation-api/1.3.5/jakarta.annotation-api-1.3.5.jar:/home/morty/.m2/repository/org/yaml/snakeyaml/1.26/snakeyaml-1.26.jar:/home/morty/.m2/repository/org/springframework/boot/spring-boot-starter-json/2.3.7.RELEASE/spring-boot-starter-json-2.3.7.RELEASE.jar:/home/morty/.m2/repository/com/fasterxml/jackson/module/jackson-module-parameter-names/2.11.3/jackson-module-parameter-names-2.11.3.jar:/home/morty/.m2/repository/org/springframework/boot/spring-boot-starter-tomcat/2.3.7.RELEASE/spring-boot-starter-tomcat-2.3.7.RELEASE.jar:/home/morty/.m2/repository/org/apache/tomcat/embed/tomcat-embed-core/9.0.41/tomcat-embed-core-9.0.41.jar:/home/morty/.m2/repository/org/apache/tomcat/embed/tomcat-embed-websocket/9.0.41/tomcat-embed-websocket-9.0.41.jar:/home/morty/.m2/repository/org/springframework/boot/spring-boot-starter-aop/2.3.7.RELEASE/spring-boot-starter-aop-2.3.7.RELEASE.jar:/home/morty/.m2/repository/org/springframework/spring-aop/5.2.12.RELEASE/spring-aop-5.2.12.RELEASE.jar:/home/morty/.m2/repository/org/aspectj/aspectjweaver/1.9.6/aspectjweaver-1.9.6.jar:/home/morty/.m2/repository/org/springframework/boot/spring-boot-starter-logging/2.3.7.RELEASE/spring-boot-starter-logging-2.3.7.RELEASE.jar:/home/morty/.m2/repository/ch/qos/logback/logback-classic/1.2.8/logback-classic-1.2.8.jar:/home/morty/.m2/repository/ch/qos/logback/logback-core/1.2.8/logback-core-1.2.8.jar:/home/morty/.m2/repository/org/apache/logging/log4j/log4j-to-slf4j/2.16.0/log4j-to-slf4j-2.16.0.jar:/home/morty/.m2/repository/org/apache/logging/log4j/log4j-api/2.16.0/log4j-api-2.16.0.jar:/home/morty/.m2/repository/org/slf4j/jul-to-slf4j/1.7.30/jul-to-slf4j-1.7.30.jar:/home/morty/.m2/repository/org/springframework/boot/spring-boot-starter-thymeleaf/2.3.7.RELEASE/spring-boot-starter-thymeleaf-2.3.7.RELEASE.jar:/home/morty/.m2/repository/org/thymeleaf/thymeleaf-spring5/3.0.11.RELEASE/thymeleaf-spring5-3.0.11.RELEASE.jar:/home/morty/.m2/repository/org/thymeleaf/thymeleaf/3.0.11.RELEASE/thymeleaf-3.0.11.RELEASE.jar:/home/morty/.m2/repository/org/attoparser/attoparser/2.0.5.RELEASE/attoparser-2.0.5.RELEASE.jar:/home/morty/.m2/repository/org/unbescape/unbescape/1.1.6.RELEASE/unbescape-1.1.6.RELEASE.jar:/home/morty/.m2/repository/org/thymeleaf/extras/thymeleaf-extras-java8time/3.0.4.RELEASE/thymeleaf-extras-java8time-3.0.4.RELEASE.jar:/home/morty/.m2/repository/org/springframework/boot/spring-boot-starter-validation/2.3.7.RELEASE/spring-boot-starter-validation-2.3.7.RELEASE.jar:/home/morty/.m2/repository/org/glassfish/jakarta.el/3.0.3/jakarta.el-3.0.3.jar:/home/morty/.m2/repository/org/hibernate/validator/hibernate-validator/6.1.6.Final/hibernate-validator-6.1.6.Final.jar:/home/morty/.m2/repository/jakarta/validation/jakarta.validation-api/2.0.2/jakarta.validation-api-2.0.2.jar:/home/morty/.m2/repository/org/jboss/logging/jboss-logging/3.4.1.Final/jboss-logging-3.4.1.Final.jar:/home/morty/.m2/repository/jakarta/xml/bind/jakarta.xml.bind-api/2.3.3/jakarta.xml.bind-api-2.3.3.jar:/home/morty/.m2/repository/jakarta/activation/jakarta.activation-api/1.2.2/jakarta.activation-api-1.2.2.jar:/home/morty/.m2/repository/net/bytebuddy/byte-buddy/1.10.18/byte-buddy-1.10.18.jar:/home/morty/.m2/repository/org/springframework/spring-core/5.2.12.RELEASE/spring-core-5.2.12.RELEASE.jar:/home/morty/.m2/repository/org/springframework/spring-jcl/5.2.12.RELEASE/spring-jcl-5.2.12.RELEASE.jar:/home/morty/.m2/repository/io/dropwizard/metrics/metrics-core/4.1.2/metrics-core-4.1.2.jar:/home/morty/.m2/repository/com/github/ben-manes/caffeine/caffeine/2.8.8/caffeine-2.8.8.jar:/home/morty/.m2/repository/org/checkerframework/checker-qual/3.8.0/checker-qual-3.8.0.jar:/home/morty/.m2/repository/com/google/errorprone/error_prone_annotations/2.4.0/error_prone_annotations-2.4.0.jar:/home/morty/.m2/repository/org/springframework/spring-context-support/5.3.19/spring-context-support-5.3.19.jar:/home/morty/.m2/repository/org/springframework/spring-beans/5.2.12.RELEASE/spring-beans-5.2.12.RELEASE.jar:/home/morty/.m2/repository/io/github/zqrferrari/logi-security-spring-boot-starter/2.10.13/logi-security-spring-boot-starter-2.10.13.jar:/home/morty/.m2/repository/com/baomidou/mybatis-plus-boot-starter/3.4.2/mybatis-plus-boot-starter-3.4.2.jar:/home/morty/.m2/repository/com/baomidou/mybatis-plus/3.4.2/mybatis-plus-3.4.2.jar:/home/morty/.m2/repository/com/baomidou/mybatis-plus-extension/3.4.2/mybatis-plus-extension-3.4.2.jar:/home/morty/.m2/repository/com/baomidou/mybatis-plus-core/3.4.2/mybatis-plus-core-3.4.2.jar:/home/morty/.m2/repository/com/baomidou/mybatis-plus-annotation/3.4.2/mybatis-plus-annotation-3.4.2.jar:/home/morty/.m2/repository/com/github/jsqlparser/jsqlparser/4.0/jsqlparser-4.0.jar:/home/morty/.m2/repository/org/springframework/boot/spring-boot-starter-jdbc/2.3.7.RELEASE/spring-boot-starter-jdbc-2.3.7.RELEASE.jar:/home/morty/.m2/repository/com/zaxxer/HikariCP/3.4.5/HikariCP-3.4.5.jar:/home/morty/.m2/repository/org/springframework/spring-jdbc/5.2.12.RELEASE/spring-jdbc-5.2.12.RELEASE.jar:/home/morty/.m2/repository/org/springframework/spring-tx/5.2.12.RELEASE/spring-tx-5.2.12.RELEASE.jar:/home/morty/.m2/repository/io/micrometer/micrometer-registry-prometheus/1.5.4/micrometer-registry-prometheus-1.5.4.jar:/home/morty/.m2/repository/io/micrometer/micrometer-core/1.5.4/micrometer-core-1.5.4.jar:/home/morty/.m2/repository/org/hdrhistogram/HdrHistogram/2.1.12/HdrHistogram-2.1.12.jar:/home/morty/.m2/repository/org/latencyutils/LatencyUtils/2.0.3/LatencyUtils-2.0.3.jar:/home/morty/.m2/repository/io/prometheus/simpleclient_common/0.8.1/simpleclient_common-0.8.1.jar:/home/morty/.m2/repository/io/prometheus/simpleclient/0.8.1/simpleclient-0.8.1.jar:/home/morty/.m2/repository/org/springframework/boot/spring-boot-actuator-autoconfigure/2.3.7.RELEASE/spring-boot-actuator-autoconfigure-2.3.7.RELEASE.jar:/home/morty/.m2/repository/org/springframework/boot/spring-boot-actuator/2.3.7.RELEASE/spring-boot-actuator-2.3.7.RELEASE.jar:/home/morty/.m2/repository/org/springframework/boot/spring-boot/2.3.7.RELEASE/spring-boot-2.3.7.RELEASE.jar:/home/morty/.m2/repository/org/springframework/boot/spring-boot-autoconfigure/2.3.7.RELEASE/spring-boot-autoconfigure-2.3.7.RELEASE.jar:/home/morty/.m2/repository/com/fasterxml/jackson/datatype/jackson-datatype-jsr310/2.11.3/jackson-datatype-jsr310-2.11.3.jar com.xiaojukeji.know.streaming.km.rest.KnowStreaming
2023-02-23 23:20:53.009  INFO 51763 --- [kground-preinit] o.h.validator.internal.util.Version      : HV000001: Hibernate Validator 6.1.6.Final

  .   ____          _            __ _ _
 /\\ / ___'_ __ _ _(_)_ __  __ _ \ \ \ \
( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \
 \\/  ___)| |_)| | | | | || (_| |  ) ) ) )
  '  |____| .__|_| |_|_| |_\__, | / / / /
 =========|_|==============|___/=/_/_/_/
 :: Spring Boot ::        (v2.3.7.RELEASE)

2023-02-23 23:20:53.081  INFO 51763 --- [           main] c.x.k.streaming.km.rest.KnowStreaming    : Starting KnowStreaming on ubuntuServuer with PID 51763 (/home/morty/project/knowstreamingDir/KnowStreaming/km-rest/target/classes started by morty in /home/morty/project/knowstreamingDir/KnowStreaming)
2023-02-23 23:20:53.081  INFO 51763 --- [           main] c.x.k.streaming.km.rest.KnowStreaming    : The following profiles are active: dev
2023-02-23 23:20:54.154  INFO 51763 --- [           main] com.didiglobal.logi.log.LogFactory       : Logging initialized using 'class com.didiglobal.logi.log.facade.Slf4jFacade' adapter.
2023-02-23 23:20:54.298  INFO 51763 --- [           main] trationDelegate$BeanPostProcessorChecker : Bean 'auvDataSourceConfig' of type [com.didiglobal.logi.job.configuration.AuvDataSourceConfig$$EnhancerBySpringCGLIB$$c767ed6a] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2023-02-23 23:20:54.310  INFO 51763 --- [           main] trationDelegate$BeanPostProcessorChecker : Bean 'spring.logi-job-com.didiglobal.logi.job.LogIJobProperties' of type [com.didiglobal.logi.job.LogIJobProperties] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2023-02-23 23:20:54.320  WARN 51763 --- [           main] ConfigServletWebServerApplicationContext : Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'taskBeanPostProcessor': Unsatisfied dependency expressed through field 'logITaskMapper'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'logITaskMapper' defined in URL [jar:file:/home/morty/.m2/repository/io/github/zqrferrari/logi-job-spring-boot-starter/1.0.23/logi-job-spring-boot-starter-1.0.23.jar!/com/didiglobal/logi/job/mapper/LogITaskMapper.class]: Cannot resolve reference to bean 'auvSqlSessionFactory' while setting bean property 'sqlSessionFactory'; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'auvSqlSessionFactory' defined in class path resource [com/didiglobal/logi/job/configuration/AuvDataSourceConfig.class]: Unsatisfied dependency expressed through method 'sqlSessionFactory' parameter 0; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'auvDataSource' defined in class path resource [com/didiglobal/logi/job/configuration/AuvDataSourceConfig.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [javax.sql.DataSource]: Factory method 'dataSource' threw exception; nested exception is java.lang.NullPointerException
2023-02-23 23:20:54.338 ERROR 51763 --- [           main] o.s.boot.SpringApplication               : Application run failed

org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'taskBeanPostProcessor': Unsatisfied dependency expressed through field 'logITaskMapper'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'logITaskMapper' defined in URL [jar:file:/home/morty/.m2/repository/io/github/zqrferrari/logi-job-spring-boot-starter/1.0.23/logi-job-spring-boot-starter-1.0.23.jar!/com/didiglobal/logi/job/mapper/LogITaskMapper.class]: Cannot resolve reference to bean 'auvSqlSessionFactory' while setting bean property 'sqlSessionFactory'; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'auvSqlSessionFactory' defined in class path resource [com/didiglobal/logi/job/configuration/AuvDataSourceConfig.class]: Unsatisfied dependency expressed through method 'sqlSessionFactory' parameter 0; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'auvDataSource' defined in class path resource [com/didiglobal/logi/job/configuration/AuvDataSourceConfig.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [javax.sql.DataSource]: Factory method 'dataSource' threw exception; nested exception is java.lang.NullPointerException
    at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:643)
    at org.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:119)
    at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessProperties(AutowiredAnnotationBeanPostProcessor.java:399)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1420)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:593)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:516)
    at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:324)
    at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:234)
    at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:322)
    at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:207)
    at org.springframework.context.support.PostProcessorRegistrationDelegate.registerBeanPostProcessors(PostProcessorRegistrationDelegate.java:241)
    at org.springframework.context.support.AbstractApplicationContext.registerBeanPostProcessors(AbstractApplicationContext.java:723)
    at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:536)
    at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:143)
    at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:758)
    at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:750)
    at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:405)
    at org.springframework.boot.SpringApplication.run(SpringApplication.java:315)
    at com.xiaojukeji.know.streaming.km.rest.KnowStreaming.main(KnowStreaming.java:30)
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'logITaskMapper' defined in URL [jar:file:/home/morty/.m2/repository/io/github/zqrferrari/logi-job-spring-boot-starter/1.0.23/logi-job-spring-boot-starter-1.0.23.jar!/com/didiglobal/logi/job/mapper/LogITaskMapper.class]: Cannot resolve reference to bean 'auvSqlSessionFactory' while setting bean property 'sqlSessionFactory'; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'auvSqlSessionFactory' defined in class path resource [com/didiglobal/logi/job/configuration/AuvDataSourceConfig.class]: Unsatisfied dependency expressed through method 'sqlSessionFactory' parameter 0; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'auvDataSource' defined in class path resource [com/didiglobal/logi/job/configuration/AuvDataSourceConfig.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [javax.sql.DataSource]: Factory method 'dataSource' threw exception; nested exception is java.lang.NullPointerException
    at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:342)
    at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:113)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1697)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1442)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:593)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:516)
    at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:324)
    at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:234)
    at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:322)
    at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:202)
    at org.springframework.beans.factory.config.DependencyDescriptor.resolveCandidate(DependencyDescriptor.java:276)
    at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1307)
    at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1227)
    at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:640)
    ... 18 common frames omitted
Caused by: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'auvSqlSessionFactory' defined in class path resource [com/didiglobal/logi/job/configuration/AuvDataSourceConfig.class]: Unsatisfied dependency expressed through method 'sqlSessionFactory' parameter 0; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'auvDataSource' defined in class path resource [com/didiglobal/logi/job/configuration/AuvDataSourceConfig.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [javax.sql.DataSource]: Factory method 'dataSource' threw exception; nested exception is java.lang.NullPointerException
    at org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:799)
    at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:540)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:1336)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1176)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:556)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:516)
    at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:324)
    at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:234)
    at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:322)
    at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:202)
    at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:330)
    ... 31 common frames omitted
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'auvDataSource' defined in class path resource [com/didiglobal/logi/job/configuration/AuvDataSourceConfig.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [javax.sql.DataSource]: Factory method 'dataSource' threw exception; nested exception is java.lang.NullPointerException
    at org.springframework.beans.factory.support.ConstructorResolver.instantiate(ConstructorResolver.java:657)
    at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:637)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:1336)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1176)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:556)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:516)
    at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:324)
    at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:234)
    at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:322)
    at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:202)
    at org.springframework.beans.factory.config.DependencyDescriptor.resolveCandidate(DependencyDescriptor.java:276)
    at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1307)
    at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1227)
    at org.springframework.beans.factory.support.ConstructorResolver.resolveAutowiredArgument(ConstructorResolver.java:886)
    at org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:790)
    ... 41 common frames omitted
Caused by: org.springframework.beans.BeanInstantiationException: Failed to instantiate [javax.sql.DataSource]: Factory method 'dataSource' threw exception; nested exception is java.lang.NullPointerException
    at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:185)
    at org.springframework.beans.factory.support.ConstructorResolver.instantiate(ConstructorResolver.java:652)
    ... 55 common frames omitted
Caused by: java.lang.NullPointerException: null
    at java.base/java.util.concurrent.ConcurrentHashMap.putVal(ConcurrentHashMap.java:1011)
    at java.base/java.util.concurrent.ConcurrentHashMap.putIfAbsent(ConcurrentHashMap.java:1541)
    at java.base/java.lang.ClassLoader.getClassLoadingLock(ClassLoader.java:666)
    at java.base/jdk.internal.loader.BuiltinClassLoader.loadClassOrNull(BuiltinClassLoader.java:651)
    at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:639)
    at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:188)
    at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:520)
    at com.zaxxer.hikari.HikariConfig.attemptFromContextLoader(HikariConfig.java:945)
    at com.zaxxer.hikari.HikariConfig.setDriverClassName(HikariConfig.java:475)
    at com.didiglobal.logi.job.configuration.AuvDataSourceConfig.dataSource(AuvDataSourceConfig.java:35)
    at com.didiglobal.logi.job.configuration.AuvDataSourceConfig$$EnhancerBySpringCGLIB$$c767ed6a.CGLIB$dataSource$0(<generated>)
    at com.didiglobal.logi.job.configuration.AuvDataSourceConfig$$EnhancerBySpringCGLIB$$c767ed6a$$FastClassBySpringCGLIB$$b51d028d.invoke(<generated>)
    at org.springframework.cglib.proxy.MethodProxy.invokeSuper(MethodProxy.java:244)
    at org.springframework.context.annotation.ConfigurationClassEnhancer$BeanMethodInterceptor.intercept(ConfigurationClassEnhancer.java:331)
    at com.didiglobal.logi.job.configuration.AuvDataSourceConfig$$EnhancerBySpringCGLIB$$c767ed6a.dataSource(<generated>)
    at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
    at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.base/java.lang.reflect.Method.invoke(Method.java:568)
    at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:154)
    ... 56 common frames omitted
ZQKC commented 1 year ago

image

niejian commented 1 year ago

驱动没改,还是一样

ZQKC commented 1 year ago

驱动没改,还是一样

辛苦贴一下现在生效的配置是?

niejian commented 1 year ago

驱动没改,还是一样

辛苦贴一下现在生效的配置是?

本地驱动配置换成mysql,mariadb都启动不了

niejian commented 1 year ago

image

使用master分支,springboot 2.3.7 中注解@SpringBootApplication 中类报错,导致自动注入的 logi-job-xxxx-starter 失败,无法扫描到对应的配置类而读不到配置信息。临时加上 spring-boot-starter-data-redis 就行或随便其他data模块

ZQKC commented 1 year ago

niejian

我这边没有复现,你能复现的相关环境信息是?

niejian commented 1 year ago

niejian

我这边没有复现,你能复现的相关环境信息是?

本地配置没更新,没问题了