暮色丶忆春 发表于 2022-5-21 18:22:15

jeecg boot 3.2.0 微服务版 system 模块未启动成功

jeecg boot 版本: 3.2.0
nacos 启动成功,并完成配置
数据库文件配置
      datasource:
      master:
          url: jdbc:mysql://${MYSQL-HOST:192.168.8.11}:${MYSQL-PORT:3306}/${MYSQL-DB:jeecg-boot}?characterEncoding=UTF-8&useUnicode=true&useSSL=false&tinyInt1isBit=false&allowPublicKeyRetrieval=true&serverTimezone=Asia/Shanghai
          username: ${MYSQL-USER:swh}
          password: ${MYSQL-PWD:swh123}
          driver-class-name: com.mysql.cj.jdbc.Driver
          # 多数据源配置
          #multi-datasource1:
          #url: jdbc:mysql://localhost:3306/jeecg-boot2?useUnicode=true&characterEncoding=utf8&autoReconnect=true&zeroDateTimeBehavior=convertToNull&transformedBitIsBoolean=true&allowPublicKeyRetrieval=true&serverTimezone=Asia/Shanghai
          #username: root
          #password: root
          #driver-class-name: com.mysql.cj.jdbc.Driver
#redis 配置
redis:
    database: 0
    host: 192.168.8.11
    lettuce:
      pool:
      max-active: 8   #最大连接数据库连接数,设 0 为没有限制
      max-idle: 8   #最大等待连接中的数量,设 0 为没有限制
      max-wait: -1ms#最大建立连接等待时间。如果超过此时间将接到异常。设为-1表示无限制。
      min-idle: 0   #最小等待连接中的数量,设 0 为没有限制
      shutdown-timeout: 100ms
    password:
    port: 6379
#rabbitmq配置



system启动报错,redis 已经连接成功

2022-05-21 18:12:38.886 INFOc.b.dynamic.datasource.DynamicRoutingDataSource:132 - dynamic-datasource - load a datasource named success
2022-05-21 18:12:38.886 INFOc.b.dynamic.datasource.DynamicRoutingDataSource:132 - dynamic-datasource - load a datasource named success
2022-05-21 18:12:38.886 INFOc.b.dynamic.datasource.DynamicRoutingDataSource:237 - dynamic-datasource initial loaded datasource,primary datasource named
2022-05-21 18:12:41.881 INFOorg.quartz.impl.StdSchedulerFactory:1220 - Using default implementation for ThreadExecutor
2022-05-21 18:12:41.884 INFOorg.quartz.simpl.SimpleThreadPool:268 - Job execution threads will use class loader of thread: main
2022-05-21 18:12:41.893 INFOorg.quartz.core.SchedulerSignalerImpl:61 - Initialized Scheduler Signaller of type: class org.quartz.core.SchedulerSignalerImpl
2022-05-21 18:12:41.893 INFOorg.quartz.core.QuartzScheduler:229 - Quartz Scheduler v.2.3.2 created.
2022-05-21 18:12:41.894 INFOorg.quartz.core.QuartzScheduler:666 - Scheduler MyScheduler_$_LAPTOP-C70FKAUA1653127961883 shutting down.
2022-05-21 18:12:41.895 INFOorg.quartz.core.QuartzScheduler:585 - Scheduler MyScheduler_$_LAPTOP-C70FKAUA1653127961883 paused.
2022-05-21 18:12:41.898 WARNorg.quartz.impl.jdbcjobstore.JobStoreTX:748 - Database connection shutdown unsuccessful.
java.sql.SQLException: There is no DataSource named 'null'
        at org.quartz.utils.DBConnectionManager.shutdown(DBConnectionManager.java:135)
        at org.quartz.impl.jdbcjobstore.JobStoreSupport.shutdown(JobStoreSupport.java:746)
        at org.quartz.core.QuartzScheduler.shutdown(QuartzScheduler.java:732)
        at org.quartz.impl.StdSchedulerFactory.shutdownFromInstantiateException(StdSchedulerFactory.java:1431)
        at org.quartz.impl.StdSchedulerFactory.instantiate(StdSchedulerFactory.java:1391)
        at org.quartz.impl.StdSchedulerFactory.getScheduler(StdSchedulerFactory.java:1579)
        at org.springframework.scheduling.quartz.SchedulerFactoryBean.createScheduler(SchedulerFactoryBean.java:679)
        at org.springframework.scheduling.quartz.SchedulerFactoryBean.prepareScheduler(SchedulerFactoryBean.java:616)
        at org.springframework.scheduling.quartz.SchedulerFactoryBean.afterPropertiesSet(SchedulerFactoryBean.java:504)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1863)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1800)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:620)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:542)
        at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:335)
        at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:234)



页: [1]
查看完整版本: jeecg boot 3.2.0 微服务版 system 模块未启动成功