1. 程式人生 > 其它 >springboot的坑,如何解決

springboot的坑,如何解決

技術標籤:Errorjavamybatisspring boot

spring boot相關問題

問題1:spring-boot-quartz啟動出現問題(待解決)

Scheduler meta-data: Quartz Scheduler (v2.3.2) 'quartzScheduler' with instanceId 'NON_CLUSTERED'
  Scheduler class: 'org.quartz.core.QuartzScheduler' - running locally.
  NOT STARTED.
  Currently in standby mode.
  Number of jobs executed:
0 Using thread pool 'org.quartz.simpl.SimpleThreadPool' - with 10 threads. Using job-store 'org.quartz.simpl.RAMJobStore' - which does not support persistence. and is not clustered.

問題2:mybatis 執行sql語句時會建立新的SqlSession(待解決)

Creating a new SqlSession
SqlSession [org.apache.ibatis.session.defaults.
DefaultSqlSession@3b55fdfc] was not registered for synchronization because synchronization is not active JDBC Connection [com.alibaba.druid.proxy.jdbc.ConnectionProxyImpl@33d92ea0] will not be managed by Spring