问题场景
在项目中采用了hibernate ,连接数据库原本为ORACLE,后续打算改造为国产数据库 达梦
链接配置:
# 达梦写法,
index:
driver-class-name: dm.jdbc.driver.DmDriver
jdbc-url: jdbc:dm://192.168.220.225:5236/IDX4
username: SYSDBA
password: SYSDBA
#low:低频;high:高频;all:低频+高频
server-type: low
#英语:en_US;中文:zh_CN;
language: zh_CN
#分布式唯一节点id
node-id: 1
# 回零配置
zero-tag:
# 是否启用回零: 启用:true; 禁用:false
enable: false
# 回零判断中 逐渐上升的斜率,斜率大于等于0并且小于等于max-rate此配置时执行回零逻辑
max-rate: 100
# 回零判断中, 低点到上升点之间的点数,大于等于此配置时执行回零逻辑
range-count: 0
supplant:
# 指标是否同步到SupOS
enable-ems-sync: true
# SupOS 地址
ems-sync-url: http://192.168.90.223:8080
#排班日历 本地模式local 平台模式supplant
scheduling-mode: local
#一批读取位号数量
read-tag-num: 10000
#标准数据服务时区
tagTimeZone: '0800'
#supplant 模式下是否每天更新排班
auto-update: false
# 是否引用测点SDK
is-enable-tagSDK: false
# 排班起始于 1表示昨天,2表示今天
team-offset-type: 1
#sqlserver 分区
database:
filepath: C:\database\index\
server:
port: 20081
shutdown: graceful
spring:
application:
name: index-service
lifecycle:
timeout-per-shutdown-phase: 10s
main:
allow-bean-definition-overriding: true
datasource:
driver-class-name: ${index.driver-class-name}
url: ${index.jdbc-url}
username: ${index.username}
password: ${index.password}
type: com.zaxxer.hikari.HikariDataSource
jpa:
# 达梦数据库
# properties:
# hibernate:
# dialect: org.hibernate.dialect.Oracle12cDialect
#方言结束
hibernate:
ddl-auto: 'update'
naming:
physicalStrategy: org.hibernate.boot.model.naming.PhysicalNamingStrategyStandardImpl
show-sql: true
open-in-view: false
thymeleaf:
prefix: classpath:/templates/
check-template-location: true
suffix: .html
mode: LEGACYHTML5
encoding: UTF-8
content-type: text/html
cache: false
jackson:
time-zone: GMT+8
redis:
host: 192.168.90.223
port: 6379
password:
database: 0
timeout: 10000
jedis:
pool:
max-active: 100
max-idle: 20
min-idle: 10
max-wait: -1
mybatis-plus:
mapper-locations: classpath:/mapper/*Mapper.xml
configuration:
cache-enabled: false
scDog:
heartbeat: 600
springfox:
documentation:
enabled: true
启动过程中遇到的问题:
"C:\Program Files\Java\jdk1.8.0_202\bin\java.exe" -agentlib:jdwp=transport=dt_socket,address=127.0.0.1:49779,suspend=y,server=n -javaagent:C:\Users\qcby4\AppData\Local\JetBrains\IdeaIC2023.1\captureAgent\debugger-agent.jar -Dfile.encoding=UTF-8 -classpath "C:\Program Files\Java\jdk1.8.0_202\jre\lib\charsets.jar;C:\Program Files\Java\jdk1.8.0_202\jre\lib\deploy.jar;C:\Program Files\Java\jdk1.8.0_202\jre\lib\ext\access-bridge-64.jar;C:\Program Files\Java\jdk1.8.0_202\jre\lib\ext\cldrdata.jar;C:\Program Files\Java\jdk1.8.0_202\jre\lib\ext\dnsns.jar;C:\Program Files\Java\jdk1.8.0_202\jre\lib\ext\jaccess.jar;C:\Program Files\Java\jdk1.8.0_202\jre\lib\ext\jfxrt.jar;C:\Program Files\Java\jdk1.8.0_202\jre\lib\ext\localedata.jar;C:\Program Files\Java\jdk1.8.0_202\jre\lib\ext\nashorn.jar;C:\Program Files\Java\jdk1.8.0_202\jre\lib\ext\sunec.jar;C:\Program Files\Java\jdk1.8.0_202\jre\lib\ext\sunjce_provider.jar;C:\Program Files\Java\jdk1.8.0_202\jre\lib\ext\sunmscapi.jar;C:\Program Files\Java\jdk1.8.0_202\jre\lib\ext\sunpkcs11.jar;C:\Program Files\Java\jdk1.8.0_202\jre\lib\ext\zipfs.jar;C:\Program Files\Java\jdk1.8.0_202\jre\lib\javaws.jar;C:\Program Files\Java\jdk1.8.0_202\jre\lib\jce.jar;C:\Program Files\Java\jdk1.8.0_202\jre\lib\jfr.jar;C:\Program Files\Java\jdk1.8.0_202\jre\lib\jfxswt.jar;C:\Program Files\Java\jdk1.8.0_202\jre\lib\jsse.jar;C:\Program Files\Java\jdk1.8.0_202\jre\lib\management-agent.jar;C:\Program Files\Java\jdk1.8.0_202\jre\lib\plugin.jar;C:\Program Files\Java\jdk1.8.0_202\jre\lib\resources.jar;C:\Program Files\Java\jdk1.8.0_202\jre\lib\rt.jar;D:\Project\QCBY\qcby-sass\qcby-parent\qcby-service\target\classes;D:\Project\QCBY\qcby-sass\qcby-parent\qcby-api\target\classes;D:\Project\resourse\repository227\maven\com\fasterxml\jackson\datatype\jackson-datatype-jsr310\2.11.3\jackson-datatype-jsr310-2.11.3.jar;D:\Project\resourse\repository227\maven\com\fasterxml\jackson\core\jackson-annotations\2.12.3\jackson-annotations-2.12.3.jar;D:\Project\resourse\repository227\maven\com\fasterxml\jackson\core\jackson-core\2.12.3\jackson-core-2.12.3.jar;D:\Project\resourse\repository227\maven\com\fasterxml\jackson\core\jackson-databind\2.12.3\jackson-databind-2.12.3.jar;D:\Project\resourse\repository227\maven\org\mybatis\mybatis-typehandlers-jsr310\1.0.1\mybatis-typehandlers-jsr310-1.0.1.jar;D:\Project\resourse\repository227\maven\io\springfox\springfox-boot-starter\3.0.0\springfox-boot-starter-3.0.0.jar;D:\Project\resourse\repository227\maven\io\springfox\springfox-oas\3.0.0\springfox-oas-3.0.0.jar;D:\Project\resourse\repository227\maven\io\swagger\core\v3\swagger-annotations\2.1.2\swagger-annotations-2.1.2.jar;D:\Project\resourse\repository227\maven\io\swagger\core\v3\swagger-models\2.1.2\swagger-models-2.1.2.jar;D:\Project\resourse\repository227\maven\io\springfox\springfox-spi\3.0.0\springfox-spi-3.0.0.jar;D:\Project\resourse\repository227\maven\io\springfox\springfox-schema\3.0.0\springfox-schema-3.0.0.jar;D:\Project\resourse\repository227\maven\io\springfox\springfox-core\3.0.0\springfox-core-3.0.0.jar;D:\Project\resourse\repository227\maven\io\springfox\springfox-spring-web\3.0.0\springfox-spring-web-3.0.0.jar;D:\Project\resourse\repository227\maven\io\github\classgraph\classgraph\4.8.83\classgraph-4.8.83.jar;D:\Project\resourse\repository227\maven\io\springfox\springfox-spring-webmvc\3.0.0\springfox-spring-webmvc-3.0.0.jar;D:\Project\resourse\repository227\maven\io\springfox\springfox-spring-webflux\3.0.0\springfox-spring-webflux-3.0.0.jar;D:\Project\resourse\repository227\maven\io\springfox\springfox-swagger-common\3.0.0\springfox-swagger-common-3.0.0.jar;D:\Project\resourse\repository227\maven\org\mapstruct\mapstruct\1.3.1.Final\mapstruct-1.3.1.Final.jar;D:\Project\resourse\repository227\maven\io\springfox\springfox-data-rest\3.0.0\springfox-data-rest-3.0.0.jar;D:\Project\resourse\repository227\maven\io\springfox\springfox-bean-validators\3.0.0\springfox-bean-validators-3.0.0.jar;D:\Project\resourse\repository227\maven\io\springfox\springfox-swagger2\3.0.0\springfox-swagger2-3.0.0.jar;D:\Project\resourse\repository227\maven\io\springfox\springfox-swagger-ui\3.0.0\springfox-swagger-ui-3.0.0.jar;D:\Project\resourse\repository227\maven\org\springframework\plugin\spring-plugin-core\2.0.0.RELEASE\spring-plugin-core-2.0.0.RELEASE.jar;D:\Project\resourse\repository227\maven\org\springframework\plugin\spring-plugin-metadata\2.0.0.RELEASE\spring-plugin-metadata-2.0.0.RELEASE.jar;D:\Project\resourse\repository227\maven\io\swagger\swagger-annotations\1.5.21\swagger-annotations-1.5.21.jar;D:\Project\resourse\repository227\maven\io\swagger\swagger-models\1.5.21\swagger-models-1.5.21.jar;D:\Project\resourse\repository227\maven\org\springframework\cloud\spring-cloud-starter-openfeign\3.0.3\spring-cloud-starter-openfeign-3.0.3.jar;D:\Project\resourse\repository227\maven\org\springframework\cloud\spring-cloud-starter\3.0.3\spring-cloud-starter-3.0.3.jar;D:\Project\resourse\repository227\maven\org\springframework\cloud\spring-cloud-context\3.0.3\spring-cloud-context-3.0.3.jar;D:\Project\resourse\repository227\maven\org\springframework\security\spring-security-rsa\1.0.10.RELEASE\spring-security-rsa-1.0.10.RELEASE.jar;D:\Project\resourse\repository227\maven\org\bouncycastle\bcpkix-jdk15on\1.68\bcpkix-jdk15on-1.68.jar;D:\Project\resourse\repository227\maven\org\bouncycastle\bcprov-jdk15on\1.68\bcprov-jdk15on-1.68.jar;D:\Project\resourse\repository227\maven\org\springframework\cloud\spring-cloud-openfeign-core\3.0.3\spring-cloud-openfeign-core-3.0.3.jar;D:\Project\resourse\repository227\maven\io\github\openfeign\form\feign-form-spring\3.8.0\feign-form-spring-3.8.0.jar;D:\Project\resourse\repository227\maven\io\github\openfeign\form\feign-form\3.8.0\feign-form-3.8.0.jar;D:\Project\resourse\repository227\maven\commons-fileupload\commons-fileupload\1.4\commons-fileupload-1.4.jar;D:\Project\resourse\repository227\maven\commons-io\commons-io\2.2\commons-io-2.2.jar;D:\Project\resourse\repository227\maven\org\springframework\spring-web\5.3.8\spring-web-5.3.8.jar;D:\Project\resourse\repository227\maven\org\springframework\cloud\spring-cloud-commons\3.0.3\spring-cloud-commons-3.0.3.jar;D:\Project\resourse\repository227\maven\org\springframework\security\spring-security-crypto\5.5.1\spring-security-crypto-5.5.1.jar;D:\Project\resourse\repository227\maven\io\github\openfeign\feign-core\10.12\feign-core-10.12.jar;D:\Project\resourse\repository227\maven\io\github\openfeign\feign-slf4j\10.12\feign-slf4j-10.12.jar;D:\Project\QCBY\qcby-sass\qcby-parent\qcby-common\target\classes;D:\Project\QCBY\qcby-sass\qcby-parent\qcby-server\target\classes;D:\Project\QCBY\qcby-sass\qcby-parent\qcby-core\target\classes;D:\Project\resourse\repository227\maven\com\googlecode\aviator\aviator\5.2.5\aviator-5.2.5.jar;D:\Project\resourse\repository227\maven\org\springframework\boot\spring-boot-starter-web\2.5.2\spring-boot-starter-web-2.5.2.jar;D:\Project\resourse\repository227\maven\org\springframework\boot\spring-boot-starter-json\2.5.2\spring-boot-starter-json-2.5.2.jar;D:\Project\resourse\repository227\maven\com\fasterxml\jackson\datatype\jackson-datatype-jdk8\2.12.3\jackson-datatype-jdk8-2.12.3.jar;D:\Project\resourse\repository227\maven\com\fasterxml\jackson\module\jackson-module-parameter-names\2.12.3\jackson-module-parameter-names-2.12.3.jar;D:\Project\resourse\repository227\maven\org\springframework\boot\spring-boot-starter-tomcat\2.5.2\spring-boot-starter-tomcat-2.5.2.jar;D:\Project\resourse\repository227\maven\org\apache\tomcat\embed\tomcat-embed-core\9.0.48\tomcat-embed-core-9.0.48.jar;D:\Project\resourse\repository227\maven\org\apache\tomcat\embed\tomcat-embed-websocket\9.0.48\tomcat-embed-websocket-9.0.48.jar;D:\Project\resourse\repository227\maven\org\springframework\spring-webmvc\5.3.8\spring-webmvc-5.3.8.jar;D:\Project\resourse\repository227\maven\org\springframework\spring-expression\5.3.8\spring-expression-5.3.8.jar;D:\Project\resourse\repository227\maven\org\springframework\kafka\spring-kafka\2.7.3\spring-kafka-2.7.3.jar;D:\Project\resourse\repository227\maven\org\springframework\spring-context\5.3.8\spring-context-5.3.8.jar;D:\Project\resourse\repository227\maven\org\springframework\spring-messaging\5.3.8\spring-messaging-5.3.8.jar;D:\Project\resourse\repository227\maven\org\springframework\spring-tx\5.3.8\spring-tx-5.3.8.jar;D:\Project\resourse\repository227\maven\org\springframework\retry\spring-retry\1.2.5.RELEASE\spring-retry-1.2.5.RELEASE.jar;D:\Project\resourse\repository227\maven\org\apache\kafka\kafka-clients\2.7.1\kafka-clients-2.7.1.jar;D:\Project\resourse\repository227\maven\com\github\luben\zstd-jni\1.4.5-6\zstd-jni-1.4.5-6.jar;D:\Project\resourse\repository227\maven\org\lz4\lz4-java\1.7.1\lz4-java-1.7.1.jar;D:\Project\resourse\repository227\maven\org\xerial\snappy\snappy-java\1.1.7.7\snappy-java-1.1.7.7.jar;D:\Project\resourse\repository227\maven\org\jetbrains\kotlin\kotlin-stdlib\1.5.20\kotlin-stdlib-1.5.20.jar;D:\Project\resourse\repository227\maven\org\jetbrains\annotations\13.0\annotations-13.0.jar;D:\Project\resourse\repository227\maven\org\jetbrains\kotlin\kotlin-stdlib-common\1.5.20\kotlin-stdlib-common-1.5.20.jar;D:\Project\resourse\repository227\maven\com\google\code\findbugs\jsr305\3.0.2\jsr305-3.0.2.jar;D:\Project\QCBY\qcby-sass\qcby-parent\qcby-parser\target\classes;D:\Project\resourse\repository227\maven\com\qcby\supfusion\framework\boot\cloud-boot-rpc-autoconfigure\1.0.8.RELEASE\cloud-boot-rpc-autoconfigure-1.0.8.RELEASE.jar;D:\Project\resourse\repository227\maven\com\qcby\supfusion\framework\cloud-common\1.0.8.RELEASE\cloud-common-1.0.8.RELEASE.jar;D:\Project\resourse\repository227\maven\javax\validation\validation-api\2.0.1.Final\validation-api-2.0.1.Final.jar;D:\Project\resourse\repository227\maven\com\alibaba\transmittable-thread-local\2.11.4\transmittable-thread-local-2.11.4.jar;D:\Project\resourse\repository227\maven\org\springframework\boot\spring-boot-configuration-processor\2.5.2\spring-boot-configuration-processor-2.5.2.jar;D:\Project\resourse\repository227\maven\com\qcby\supfusion\framework\cloud-rpc\1.0.8.RELEASE\cloud-rpc-1.0.8.RELEASE.jar;D:\Project\resourse\repository227\maven\com\qcby\supfusion\framework\cloud-i18n\1.0.8.RELEASE\cloud-i18n-1.0.8.RELEASE.jar;D:\Project\resourse\repository227\maven\org\apache\ant\ant\1.9.4\ant-1.9.4.jar;D:\Project\resourse\repository227\maven\org\apache\ant\ant-launcher\1.9.4\ant-launcher-1.9.4.jar;D:\Project\resourse\repository227\maven\org\apache\httpcomponents\httpclient\4.5.6\httpclient-4.5.6.jar;D:\Project\resourse\repository227\maven\commons-logging\commons-logging\1.2\commons-logging-1.2.jar;D:\Project\resourse\repository227\maven\commons-codec\commons-codec\1.15\commons-codec-1.15.jar;D:\Project\resourse\repository227\maven\org\apache\httpcomponents\httpmime\4.5.6\httpmime-4.5.6.jar;D:\Project\resourse\repository227\maven\com\google\guava\guava\29.0-jre\guava-29.0-jre.jar;D:\Project\resourse\repository227\maven\com\google\guava\failureaccess\1.0.1\failureaccess-1.0.1.jar;D:\Project\resourse\repository227\maven\com\google\guava\listenablefuture\9999.0-empty-to-avoid-conflict-with-guava\listenablefuture-9999.0-empty-to-avoid-conflict-with-guava.jar;D:\Project\resourse\repository227\maven\org\checkerframework\checker-qual\2.11.1\checker-qual-2.11.1.jar;D:\Project\resourse\repository227\maven\com\google\errorprone\error_prone_annotations\2.3.4\error_prone_annotations-2.3.4.jar;D:\Project\resourse\repository227\maven\com\google\j2objc\j2objc-annotations\1.3\j2objc-annotations-1.3.jar;D:\Project\resourse\repository227\maven\javax\servlet\javax.servlet-api\4.0.1\javax.servlet-api-4.0.1.jar;D:\Project\resourse\repository227\maven\org\springframework\spring-jdbc\5.3.8\spring-jdbc-5.3.8.jar;D:\Project\resourse\repository227\maven\io\github\openfeign\feign-httpclient\10.12\feign-httpclient-10.12.jar;D:\Project\resourse\repository227\maven\com\netflix\hystrix\hystrix-core\1.5.18\hystrix-core-1.5.18.jar;D:\Project\resourse\repository227\maven\com\netflix\archaius\archaius-core\0.4.1\archaius-core-0.4.1.jar;D:\Project\resourse\repository227\maven\io\reactivex\rxjava\1.3.8\rxjava-1.3.8.jar;D:\Project\resourse\repository227\maven\com\netflix\ribbon\ribbon-core\2.3.0\ribbon-core-2.3.0.jar;D:\Project\resourse\repository227\maven\commons-configuration\commons-configuration\1.8\commons-configuration-1.8.jar;D:\Project\resourse\repository227\maven\commons-lang\commons-lang\2.6\commons-lang-2.6.jar;D:\Project\resourse\repository227\maven\org\dom4j\dom4j\2.1.3\dom4j-2.1.3.jar;D:\Project\QCBY\qcby-sass\qcby-parent\qcby-ems\target\classes;D:\Project\QCBY\qcby-sass\qcby-parent\qcby-data\target\classes;D:\Project\resourse\repository227\maven\org\springframework\boot\spring-boot-starter-log4j2\2.5.2\spring-boot-starter-log4j2-2.5.2.jar;D:\Project\resourse\repository227\maven\org\apache\logging\log4j\log4j-slf4j-impl\2.17.0\log4j-slf4j-impl-2.17.0.jar;D:\Project\resourse\repository227\maven\org\apache\logging\log4j\log4j-api\2.17.0\log4j-api-2.17.0.jar;D:\Project\resourse\repository227\maven\org\apache\logging\log4j\log4j-core\2.17.0\log4j-core-2.17.0.jar;D:\Project\resourse\repository227\maven\org\apache\logging\log4j\log4j-jul\2.17.0\log4j-jul-2.17.0.jar;D:\Project\resourse\repository227\maven\org\slf4j\jul-to-slf4j\1.7.31\jul-to-slf4j-1.7.31.jar;D:\Project\resourse\repository227\maven\org\springframework\boot\spring-boot-starter-data-jpa\2.5.2\spring-boot-starter-data-jpa-2.5.2.jar;D:\Project\resourse\repository227\maven\org\springframework\boot\spring-boot-starter-jdbc\2.5.2\spring-boot-starter-jdbc-2.5.2.jar;D:\Project\resourse\repository227\maven\com\zaxxer\HikariCP\4.0.3\HikariCP-4.0.3.jar;D:\Project\resourse\repository227\maven\jakarta\transaction\jakarta.transaction-api\1.3.3\jakarta.transaction-api-1.3.3.jar;D:\Project\resourse\repository227\maven\jakarta\persistence\jakarta.persistence-api\2.2.3\jakarta.persistence-api-2.2.3.jar;D:\Project\resourse\repository227\maven\org\hibernate\hibernate-core\5.4.32.Final\hibernate-core-5.4.32.Final.jar;D:\Project\resourse\repository227\maven\org\javassist\javassist\3.27.0-GA\javassist-3.27.0-GA.jar;D:\Project\resourse\repository227\maven\antlr\antlr\2.7.7\antlr-2.7.7.jar;D:\Project\resourse\repository227\maven\org\jboss\jandex\2.2.3.Final\jandex-2.2.3.Final.jar;D:\Project\resourse\repository227\maven\org\hibernate\common\hibernate-commons-annotations\5.1.2.Final\hibernate-commons-annotations-5.1.2.Final.jar;D:\Project\resourse\repository227\maven\org\glassfish\jaxb\jaxb-runtime\2.3.4\jaxb-runtime-2.3.4.jar;D:\Project\resourse\repository227\maven\org\glassfish\jaxb\txw2\2.3.4\txw2-2.3.4.jar;D:\Project\resourse\repository227\maven\com\sun\istack\istack-commons-runtime\3.0.12\istack-commons-runtime-3.0.12.jar;D:\Project\resourse\repository227\maven\com\sun\activation\jakarta.activation\1.2.2\jakarta.activation-1.2.2.jar;D:\Project\resourse\repository227\maven\org\springframework\data\spring-data-jpa\2.5.2\spring-data-jpa-2.5.2.jar;D:\Project\resourse\repository227\maven\org\springframework\data\spring-data-commons\2.5.2\spring-data-commons-2.5.2.jar;D:\Project\resourse\repository227\maven\org\springframework\spring-orm\5.3.8\spring-orm-5.3.8.jar;D:\Project\resourse\repository227\maven\org\springframework\spring-aspects\5.3.8\spring-aspects-5.3.8.jar;D:\Project\resourse\repository227\maven\com\baomidou\mybatis-plus-boot-starter\3.4.3\mybatis-plus-boot-starter-3.4.3.jar;D:\Project\resourse\repository227\maven\com\baomidou\mybatis-plus\3.4.3\mybatis-plus-3.4.3.jar;D:\Project\resourse\repository227\maven\com\baomidou\mybatis-plus-extension\3.4.3\mybatis-plus-extension-3.4.3.jar;D:\Project\resourse\repository227\maven\com\baomidou\mybatis-plus-core\3.4.3\mybatis-plus-core-3.4.3.jar;D:\Project\resourse\repository227\maven\com\baomidou\mybatis-plus-annotation\3.4.3\mybatis-plus-annotation-3.4.3.jar;D:\Project\resourse\repository227\maven\com\github\jsqlparser\jsqlparser\4.0\jsqlparser-4.0.jar;D:\Project\resourse\repository227\maven\org\mybatis\mybatis\3.5.7\mybatis-3.5.7.jar;D:\Project\resourse\repository227\maven\org\mybatis\mybatis-spring\2.0.6\mybatis-spring-2.0.6.jar;D:\Project\resourse\repository227\maven\org\mariadb\jdbc\mariadb-java-client\2.7.3\mariadb-java-client-2.7.3.jar;D:\Project\resourse\repository227\maven\com\microsoft\sqlserver\mssql-jdbc\9.2.1.jre8\mssql-jdbc-9.2.1.jre8.jar;D:\Project\resourse\repository227\maven\com\dm\DmJdbcDriver\18\DmJdbcDriver-18.jar;D:\Project\resourse\repository227\maven\com\oracle\database\jdbc\ojdbc8\21.1.0.0\ojdbc8-21.1.0.0.jar;D:\Project\resourse\repository227\maven\com\oracle\database\nls\orai18n\21.1.0.0\orai18n-21.1.0.0.jar;D:\Project\resourse\repository227\maven\com\github\ben-manes\caffeine\caffeine\2.9.1\caffeine-2.9.1.jar;D:\Project\resourse\repository227\maven\commons-beanutils\commons-beanutils\1.9.2\commons-beanutils-1.9.2.jar;D:\Project\resourse\repository227\maven\commons-collections\commons-collections\3.2.1\commons-collections-3.2.1.jar;D:\Project\resourse\repository227\maven\com\alibaba\easyexcel\2.2.10\easyexcel-2.2.10.jar;D:\Project\resourse\repository227\maven\org\apache\poi\poi\3.17\poi-3.17.jar;D:\Project\resourse\repository227\maven\org\apache\commons\commons-collections4\4.1\commons-collections4-4.1.jar;D:\Project\resourse\repository227\maven\org\apache\poi\poi-ooxml\3.17\poi-ooxml-3.17.jar;D:\Project\resourse\repository227\maven\com\github\virtuald\curvesapi\1.04\curvesapi-1.04.jar;D:\Project\resourse\repository227\maven\org\apache\poi\poi-ooxml-schemas\3.17\poi-ooxml-schemas-3.17.jar;D:\Project\resourse\repository227\maven\org\apache\xmlbeans\xmlbeans\2.6.0\xmlbeans-2.6.0.jar;D:\Project\resourse\repository227\maven\stax\stax-api\1.0.1\stax-api-1.0.1.jar;D:\Project\resourse\repository227\maven\cglib\cglib\3.1\cglib-3.1.jar;D:\Project\resourse\repository227\maven\org\ehcache\ehcache\3.9.4\ehcache-3.9.4.jar;D:\Project\resourse\repository227\maven\org\apache\httpcomponents\httpcore\4.4.10\httpcore-4.4.10.jar;D:\Project\resourse\repository227\maven\org\springframework\boot\spring-boot-starter-data-redis\2.5.2\spring-boot-starter-data-redis-2.5.2.jar;D:\Project\resourse\repository227\maven\org\springframework\data\spring-data-redis\2.5.2\spring-data-redis-2.5.2.jar;D:\Project\resourse\repository227\maven\org\springframework\data\spring-data-keyvalue\2.5.2\spring-data-keyvalue-2.5.2.jar;D:\Project\resourse\repository227\maven\org\springframework\spring-oxm\5.3.8\spring-oxm-5.3.8.jar;D:\Project\resourse\repository227\maven\org\springframework\spring-context-support\5.3.8\spring-context-support-5.3.8.jar;D:\Project\resourse\repository227\maven\redis\clients\jedis\3.6.1\jedis-3.6.1.jar;D:\Project\resourse\repository227\maven\org\apache\commons\commons-pool2\2.9.0\commons-pool2-2.9.0.jar;D:\Project\resourse\repository227\maven\net\java\dev\jna\jna\4.2.2\jna-4.2.2.jar;D:\Project\resourse\repository227\maven\com\qcby\supfusion\framework\boot\scaffold-boot-starter-tagmanagement\1.0.0.RELEASE\scaffold-boot-starter-tagmanagement-1.0.0.RELEASE.jar;D:\Project\resourse\repository227\maven\com\qcby\supfusion\framework\boot\scaffold-boot-tagmanagement-autoconfigure\1.0.0.RELEASE\scaffold-boot-tagmanagement-autoconfigure-1.0.0.RELEASE.jar;D:\Project\resourse\repository227\maven\com\qcby\supfusion\framework\scaffold-tagmanagement\1.0.0.RELEASE\scaffold-tagmanagement-1.0.0.RELEASE.jar;D:\Project\resourse\repository227\maven\org\springframework\boot\spring-boot-starter\2.5.2\spring-boot-starter-2.5.2.jar;D:\Project\resourse\repository227\maven\org\springframework\boot\spring-boot\2.5.2\spring-boot-2.5.2.jar;D:\Project\resourse\repository227\maven\jakarta\annotation\jakarta.annotation-api\1.3.5\jakarta.annotation-api-1.3.5.jar;D:\Project\resourse\repository227\maven\org\yaml\snakeyaml\1.28\snakeyaml-1.28.jar;D:\Project\resourse\repository227\maven\org\ow2\asm\asm\9.1\asm-9.1.jar;D:\Project\resourse\repository227\maven\jakarta\xml\bind\jakarta.xml.bind-api\2.3.3\jakarta.xml.bind-api-2.3.3.jar;D:\Project\resourse\repository227\maven\jakarta\activation\jakarta.activation-api\1.2.2\jakarta.activation-api-1.2.2.jar;D:\Project\resourse\repository227\maven\net\bytebuddy\byte-buddy\1.10.22\byte-buddy-1.10.22.jar;D:\Project\resourse\repository227\maven\org\springframework\spring-core\5.3.8\spring-core-5.3.8.jar;D:\Project\resourse\repository227\maven\org\springframework\spring-jcl\5.3.8\spring-jcl-5.3.8.jar;D:\Project\resourse\repository227\maven\com\alibaba\druid-spring-boot-starter\1.2.8\druid-spring-boot-starter-1.2.8.jar;D:\Project\resourse\repository227\maven\org\slf4j\slf4j-api\1.7.31\slf4j-api-1.7.31.jar;D:\Project\resourse\repository227\maven\org\springframework\boot\spring-boot-autoconfigure\2.5.2\spring-boot-autoconfigure-2.5.2.jar;D:\Project\resourse\repository227\maven\com\alibaba\druid\1.1.19\druid-1.1.19.jar;D:\Project\resourse\repository227\maven\org\springframework\boot\spring-boot-starter-aop\2.5.2\spring-boot-starter-aop-2.5.2.jar;D:\Project\resourse\repository227\maven\org\springframework\spring-aop\5.3.8\spring-aop-5.3.8.jar;D:\Project\resourse\repository227\maven\org\springframework\spring-beans\5.3.8\spring-beans-5.3.8.jar;D:\Project\resourse\repository227\maven\org\aspectj\aspectjweaver\1.9.6\aspectjweaver-1.9.6.jar;D:\Project\resourse\repository227\maven\org\springframework\boot\spring-boot-starter-actuator\2.5.2\spring-boot-starter-actuator-2.5.2.jar;D:\Project\resourse\repository227\maven\org\springframework\boot\spring-boot-actuator-autoconfigure\2.5.2\spring-boot-actuator-autoconfigure-2.5.2.jar;D:\Project\resourse\repository227\maven\org\springframework\boot\spring-boot-actuator\2.5.2\spring-boot-actuator-2.5.2.jar;D:\Project\resourse\repository227\maven\io\micrometer\micrometer-core\1.7.1\micrometer-core-1.7.1.jar;D:\Project\resourse\repository227\maven\org\hdrhistogram\HdrHistogram\2.1.12\HdrHistogram-2.1.12.jar;D:\Project\resourse\repository227\maven\org\latencyutils\LatencyUtils\2.0.3\LatencyUtils-2.0.3.jar;D:\Project\resourse\repository227\maven\org\springframework\boot\spring-boot-starter-validation\2.5.2\spring-boot-starter-validation-2.5.2.jar;D:\Project\resourse\repository227\maven\org\apache\tomcat\embed\tomcat-embed-el\9.0.48\tomcat-embed-el-9.0.48.jar;D:\Project\resourse\repository227\maven\org\springframework\boot\spring-boot-starter-thymeleaf\2.5.2\spring-boot-starter-thymeleaf-2.5.2.jar;D:\Project\resourse\repository227\maven\org\thymeleaf\thymeleaf-spring5\3.0.12.RELEASE\thymeleaf-spring5-3.0.12.RELEASE.jar;D:\Project\resourse\repository227\maven\org\thymeleaf\thymeleaf\3.0.12.RELEASE\thymeleaf-3.0.12.RELEASE.jar;D:\Project\resourse\repository227\maven\org\attoparser\attoparser\2.0.5.RELEASE\attoparser-2.0.5.RELEASE.jar;D:\Project\resourse\repository227\maven\org\unbescape\unbescape\1.1.6.RELEASE\unbescape-1.1.6.RELEASE.jar;D:\Project\resourse\repository227\maven\org\thymeleaf\extras\thymeleaf-extras-java8time\3.0.4.RELEASE\thymeleaf-extras-java8time-3.0.4.RELEASE.jar;D:\Project\resourse\repository227\maven\org\apache\velocity\velocity-engine-core\2.2\velocity-engine-core-2.2.jar;D:\Project\resourse\repository227\maven\org\apache\commons\commons-lang3\3.12.0\commons-lang3-3.12.0.jar;D:\Project\resourse\repository227\maven\jaxen\jaxen\1.2.0\jaxen-1.2.0.jar;D:\Project\resourse\repository227\maven\org\hibernate\validator\hibernate-validator\6.2.0.Final\hibernate-validator-6.2.0.Final.jar;D:\Project\resourse\repository227\maven\jakarta\validation\jakarta.validation-api\2.0.2\jakarta.validation-api-2.0.2.jar;D:\Project\resourse\repository227\maven\org\jboss\logging\jboss-logging\3.4.2.Final\jboss-logging-3.4.2.Final.jar;D:\Project\resourse\repository227\maven\com\fasterxml\classmate\1.5.1\classmate-1.5.1.jar;D:\Project\resourse\repository227\maven\com\alibaba\fastjson\1.2.83\fastjson-1.2.83.jar;C:\Program Files\JetBrains\IntelliJ IDEA Community Edition 2023.1.2\lib\idea_rt.jar" com.qcby.qcby.Application
已连接到目标 VM, 地址: ''127.0.0.1:49779',传输: '套接字''
. ____ _ __ _ _
/\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \
( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \
\\/ ___)| |_)| | | | | || (_| | ) ) ) )
' |____| .__|_| |_|_| |_\__, | / / / /
=========|_|==============|___/=/_/_/_/
:: Spring Boot :: (v2.5.2)
2024-01-24 16:38:53.760 [INFO ] org.springframework.boot.StartupInfoLogger.logStarting(StartupInfoLogger.java:55) - Starting Application using Java 1.8.0_202 on gyrj774v0044 with PID 28612 (D:\Project\QCBY\qcby-sass\qcby-parent\qcby-service\target\classes started by qcby4 in D:\Project\QCBY\qcby-sass\qcby-parent)
2024-01-24 16:38:53.772 [INFO ] org.springframework.boot.SpringApplication.logStartupProfileInfo(SpringApplication.java:663) - The following profiles are active: dev
2024-01-24 16:39:01.300 [INFO ] org.apache.juli.logging.DirectJDKLog.log(DirectJDKLog.java:173) - Initializing ProtocolHandler ["http-nio-20081"]
2024-01-24 16:39:01.301 [INFO ] org.apache.juli.logging.DirectJDKLog.log(DirectJDKLog.java:173) - Starting service [Tomcat]
2024-01-24 16:39:01.301 [INFO ] org.apache.juli.logging.DirectJDKLog.log(DirectJDKLog.java:173) - Starting Servlet engine: [Apache Tomcat/9.0.48]
2024-01-24 16:39:01.663 [INFO ] org.apache.juli.logging.DirectJDKLog.log(DirectJDKLog.java:173) - Initializing Spring embedded WebApplicationContext
2024-01-24 16:39:02.438 [INFO ] com.alibaba.druid.spring.boot.autoconfigure.DruidDataSourceAutoConfigure.dataSource(DruidDataSourceAutoConfigure.java:56) - Init DruidDataSource
2024-01-24 16:39:02.889 [ERROR] com.alibaba.druid.pool.DruidDataSource.validationQueryCheck(DruidDataSource.java:1206) - testWhileIdle is true, validationQuery not set
2024-01-24 16:39:03.145 [INFO ] com.alibaba.druid.pool.DruidDataSource.init(DruidDataSource.java:1003) - {dataSource-1} inited
2024-01-24 16:39:04.823 [ERROR] org.springframework.orm.jpa.AbstractEntityManagerFactoryBean.buildNativeEntityManagerFactory(AbstractEntityManagerFactoryBean.java:426) - Failed to initialize JPA EntityManagerFactory: Unable to create requested service [org.hibernate.engine.jdbc.env.spi.JdbcEnvironment]
2024-01-24 16:39:04.825 [WARN ] org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:591) - Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'entityManagerFactory' defined in class path resource [org/springframework/boot/autoconfigure/orm/jpa/HibernateJpaConfiguration.class]: Invocation of init method failed; nested exception is org.hibernate.service.spi.ServiceException: Unable to create requested service [org.hibernate.engine.jdbc.env.spi.JdbcEnvironment]
2024-01-24 16:39:04.825 [INFO ] com.alibaba.druid.pool.DruidDataSource.close(DruidDataSource.java:1948) - {dataSource-1} closing ...
2024-01-24 16:39:04.833 [INFO ] com.alibaba.druid.pool.DruidDataSource.close(DruidDataSource.java:2020) - {dataSource-1} closed
2024-01-24 16:39:04.846 [INFO ] org.apache.juli.logging.DirectJDKLog.log(DirectJDKLog.java:173) - Stopping service [Tomcat]
2024-01-24 16:39:04.917 [ERROR] org.springframework.boot.SpringApplication.reportFailure(SpringApplication.java:843) - Application run failed
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'entityManagerFactory' defined in class path resource [org/springframework/boot/autoconfigure/orm/jpa/HibernateJpaConfiguration.class]: Invocation of init method failed; nested exception is org.hibernate.service.spi.ServiceException: Unable to create requested service [org.hibernate.engine.jdbc.env.spi.JdbcEnvironment]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1786) ~[spring-beans-5.3.8.jar:5.3.8]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:602) ~[spring-beans-5.3.8.jar:5.3.8]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:524) ~[spring-beans-5.3.8.jar:5.3.8]
at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:335) ~[spring-beans-5.3.8.jar:5.3.8]
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:234) ~[spring-beans-5.3.8.jar:5.3.8]
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:333) ~[spring-beans-5.3.8.jar:5.3.8]
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:208) ~[spring-beans-5.3.8.jar:5.3.8]
at org.springframework.context.support.AbstractApplicationContext.getBean(AbstractApplicationContext.java:1154) ~[spring-context-5.3.8.jar:5.3.8]
at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:908) ~[spring-context-5.3.8.jar:5.3.8]
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:583) ~[spring-context-5.3.8.jar:5.3.8]
at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:145) ~[spring-boot-2.5.2.jar:2.5.2]
at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:754) [spring-boot-2.5.2.jar:2.5.2]
at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:434) [spring-boot-2.5.2.jar:2.5.2]
at org.springframework.boot.SpringApplication.run(SpringApplication.java:338) [spring-boot-2.5.2.jar:2.5.2]
at com.qcby.qcby.Application.main(Application.java:30) [classes/:?]
Caused by: org.hibernate.service.spi.ServiceException: Unable to create requested service [org.hibernate.engine.jdbc.env.spi.JdbcEnvironment]
at org.hibernate.service.internal.AbstractServiceRegistryImpl.createService(AbstractServiceRegistryImpl.java:275) ~[hibernate-core-5.4.32.Final.jar:5.4.32.Final]
at org.hibernate.service.internal.AbstractServiceRegistryImpl.initializeService(AbstractServiceRegistryImpl.java:237) ~[hibernate-core-5.4.32.Final.jar:5.4.32.Final]
at org.hibernate.service.internal.AbstractServiceRegistryImpl.getService(AbstractServiceRegistryImpl.java:214) ~[hibernate-core-5.4.32.Final.jar:5.4.32.Final]
at org.hibernate.id.factory.internal.DefaultIdentifierGeneratorFactory.injectServices(DefaultIdentifierGeneratorFactory.java:152) ~[hibernate-core-5.4.32.Final.jar:5.4.32.Final]
at org.hibernate.service.internal.AbstractServiceRegistryImpl.injectDependencies(AbstractServiceRegistryImpl.java:286) ~[hibernate-core-5.4.32.Final.jar:5.4.32.Final]
at org.hibernate.service.internal.AbstractServiceRegistryImpl.initializeService(AbstractServiceRegistryImpl.java:243) ~[hibernate-core-5.4.32.Final.jar:5.4.32.Final]
at org.hibernate.service.internal.AbstractServiceRegistryImpl.getService(AbstractServiceRegistryImpl.java:214) ~[hibernate-core-5.4.32.Final.jar:5.4.32.Final]
at org.hibernate.boot.internal.InFlightMetadataCollectorImpl.<init>(InFlightMetadataCollectorImpl.java:176) ~[hibernate-core-5.4.32.Final.jar:5.4.32.Final]
at org.hibernate.boot.model.process.spi.MetadataBuildingProcess.complete(MetadataBuildingProcess.java:127) ~[hibernate-core-5.4.32.Final.jar:5.4.32.Final]
at org.hibernate.jpa.boot.internal.EntityManagerFactoryBuilderImpl.metadata(EntityManagerFactoryBuilderImpl.java:1224) ~[hibernate-core-5.4.32.Final.jar:5.4.32.Final]
at org.hibernate.jpa.boot.internal.EntityManagerFactoryBuilderImpl.build(EntityManagerFactoryBuilderImpl.java:1255) ~[hibernate-core-5.4.32.Final.jar:5.4.32.Final]
at org.springframework.orm.jpa.vendor.SpringHibernateJpaPersistenceProvider.createContainerEntityManagerFactory(SpringHibernateJpaPersistenceProvider.java:58) ~[spring-orm-5.3.8.jar:5.3.8]
at org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean.createNativeEntityManagerFactory(LocalContainerEntityManagerFactoryBean.java:365) ~[spring-orm-5.3.8.jar:5.3.8]
at org.springframework.orm.jpa.AbstractEntityManagerFactoryBean.buildNativeEntityManagerFactory(AbstractEntityManagerFactoryBean.java:409) ~[spring-orm-5.3.8.jar:5.3.8]
at org.springframework.orm.jpa.AbstractEntityManagerFactoryBean.afterPropertiesSet(AbstractEntityManagerFactoryBean.java:396) ~[spring-orm-5.3.8.jar:5.3.8]
at org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean.afterPropertiesSet(LocalContainerEntityManagerFactoryBean.java:341) ~[spring-orm-5.3.8.jar:5.3.8]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1845) ~[spring-beans-5.3.8.jar:5.3.8]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1782) ~[spring-beans-5.3.8.jar:5.3.8]
... 14 more
Caused by: org.hibernate.HibernateException: Access to DialectResolutionInfo cannot be null when 'hibernate.dialect' not set
at org.hibernate.engine.jdbc.dialect.internal.DialectFactoryImpl.determineDialect(DialectFactoryImpl.java:100) ~[hibernate-core-5.4.32.Final.jar:5.4.32.Final]
at org.hibernate.engine.jdbc.dialect.internal.DialectFactoryImpl.buildDialect(DialectFactoryImpl.java:54) ~[hibernate-core-5.4.32.Final.jar:5.4.32.Final]
at org.hibernate.engine.jdbc.env.internal.JdbcEnvironmentInitiator.initiateService(JdbcEnvironmentInitiator.java:137) ~[hibernate-core-5.4.32.Final.jar:5.4.32.Final]
at org.hibernate.engine.jdbc.env.internal.JdbcEnvironmentInitiator.initiateService(JdbcEnvironmentInitiator.java:35) ~[hibernate-core-5.4.32.Final.jar:5.4.32.Final]
at org.hibernate.boot.registry.internal.StandardServiceRegistryImpl.initiateService(StandardServiceRegistryImpl.java:101) ~[hibernate-core-5.4.32.Final.jar:5.4.32.Final]
at org.hibernate.service.internal.AbstractServiceRegistryImpl.createService(AbstractServiceRegistryImpl.java:263) ~[hibernate-core-5.4.32.Final.jar:5.4.32.Final]
at org.hibernate.service.internal.AbstractServiceRegistryImpl.initializeService(AbstractServiceRegistryImpl.java:237) ~[hibernate-core-5.4.32.Final.jar:5.4.32.Final]
at org.hibernate.service.internal.AbstractServiceRegistryImpl.getService(AbstractServiceRegistryImpl.java:214) ~[hibernate-core-5.4.32.Final.jar:5.4.32.Final]
at org.hibernate.id.factory.internal.DefaultIdentifierGeneratorFactory.injectServices(DefaultIdentifierGeneratorFactory.java:152) ~[hibernate-core-5.4.32.Final.jar:5.4.32.Final]
at org.hibernate.service.internal.AbstractServiceRegistryImpl.injectDependencies(AbstractServiceRegistryImpl.java:286) ~[hibernate-core-5.4.32.Final.jar:5.4.32.Final]
at org.hibernate.service.internal.AbstractServiceRegistryImpl.initializeService(AbstractServiceRegistryImpl.java:243) ~[hibernate-core-5.4.32.Final.jar:5.4.32.Final]
at org.hibernate.service.internal.AbstractServiceRegistryImpl.getService(AbstractServiceRegistryImpl.java:214) ~[hibernate-core-5.4.32.Final.jar:5.4.32.Final]
at org.hibernate.boot.internal.InFlightMetadataCollectorImpl.<init>(InFlightMetadataCollectorImpl.java:176) ~[hibernate-core-5.4.32.Final.jar:5.4.32.Final]
at org.hibernate.boot.model.process.spi.MetadataBuildingProcess.complete(MetadataBuildingProcess.java:127) ~[hibernate-core-5.4.32.Final.jar:5.4.32.Final]
at org.hibernate.jpa.boot.internal.EntityManagerFactoryBuilderImpl.metadata(EntityManagerFactoryBuilderImpl.java:1224) ~[hibernate-core-5.4.32.Final.jar:5.4.32.Final]
at org.hibernate.jpa.boot.internal.EntityManagerFactoryBuilderImpl.build(EntityManagerFactoryBuilderImpl.java:1255) ~[hibernate-core-5.4.32.Final.jar:5.4.32.Final]
at org.springframework.orm.jpa.vendor.SpringHibernateJpaPersistenceProvider.createContainerEntityManagerFactory(SpringHibernateJpaPersistenceProvider.java:58) ~[spring-orm-5.3.8.jar:5.3.8]
at org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean.createNativeEntityManagerFactory(LocalContainerEntityManagerFactoryBean.java:365) ~[spring-orm-5.3.8.jar:5.3.8]
at org.springframework.orm.jpa.AbstractEntityManagerFactoryBean.buildNativeEntityManagerFactory(AbstractEntityManagerFactoryBean.java:409) ~[spring-orm-5.3.8.jar:5.3.8]
at org.springframework.orm.jpa.AbstractEntityManagerFactoryBean.afterPropertiesSet(AbstractEntityManagerFactoryBean.java:396) ~[spring-orm-5.3.8.jar:5.3.8]
at org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean.afterPropertiesSet(LocalContainerEntityManagerFactoryBean.java:341) ~[spring-orm-5.3.8.jar:5.3.8]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1845) ~[spring-beans-5.3.8.jar:5.3.8]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1782) ~[spring-beans-5.3.8.jar:5.3.8]
... 14 more
出现问题的原因:
jdbc配置不正确
解决方案:
1、检查是否已添加数据库驱动jar包
已添加
2、检查数据库服务是否启动
已启动
3、检查数据库配置文件
未添加 dialect
主要为:dialect,driver_class,url,username,password这五项是否有缺失,是否正确。
务必注意检查大小写以及英文标点。
4、检查是否缺少字符集、时区等配置
已配置
后续查到问题后的解决方案:
properties:
hibernate:
dialect: org.hibernate.dialect.Oracle12cDialect