目前的配置信息
url: jdbc:dm://localhost:5236?schema=XXX&compatibleMode=oraclemybatis-plus:
configuration:
map-underscore-to-camel-case: true # 虽然默认为 true ,但是还是显示去指定下。
jdbc-type-for-null: 'null'
global-config:
db-config:
id-type: INPUT # “智能”模式,基于 IdTypeEnvironmentPostProcessor + 数据源的类型,自动适配成 AUTO、INPUT 模式。
logic-delete-value: 1 # 逻辑已删除值(默认为 1)
logic-not-delete-value: 0 # 逻辑未删除值(默认为 0)
banner: false # 关闭控制台的 Banner 打印
type-aliases-package: ${jeelowcode.info.base-package}.module.*.entity
encryptor:
password: 依赖的DmJdbcDriver18的optional=true去掉了
然后启动报下面的信息:
11:35:20.530 [main] INFO liquibase.database - [log,30] - Could not set check compatibility mode on OracleDatabase, assuming not running in any sort of compatibility mode: Cannot read from DBMS_UTILITY.DB_VERSION: -2193 第1 行附近出现错误:
无效的方法名[DB_VERSION]
11:35:25.970 [main] WARN o.a.c.l.WebappClassLoaderBase - [log,173] - The web application [ROOT] appears to have started a thread named [Thread-3] but has failed to stop it. This is very likely to create a memory leak. Stack trace of thread:
java.base@17.0.2/sun.net.dns.ResolverConfigurationImpl.notifyAddrChange0(Native Method)
java.base@17.0.2/sun.net.dns.ResolverConfigurationImpl$AddressChangeListener.run(ResolverConfigurationImpl.java:176)
11:35:25.994 [main] INFO o.s.b.a.l.ConditionEvaluationReportLogger - [logMessage,82] -
Error starting ApplicationContext. To display the condition evaluation report re-run your application with 'debug' enabled.
11:35:26.020 [main] ERROR o.s.b.SpringApplication - [reportFailure,859] - Application run failed
org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'commissionApplyStartEnhance': Unsatisfied dependency expressed through field 'formDataService': Error creating bean with name 'jeeLowCodeBpmFormDataServiceImpl': Unsatisfied dependency expressed through field 'bpmService': Error creating bean with name 'jeeLowCodeBpmServiceImpl': Unsatisfied dependency expressed through field 'modelService': Error creating bean with name 'jeeLowCodeBpmModelServiceImpl': Unsatisfied dependency expressed through field 'repositoryService': Error creating bean with name 'repositoryServiceBean' defined in class path resource [org/flowable/spring/boot/ProcessEngineServicesAutoConfiguration.class]: Unsatisfied dependency expressed through method 'repositoryServiceBean' parameter 0: Error creating bean with name 'processEngine': FactoryBean threw exception on object creation
at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.resolveFieldValue(AutowiredAnnotationBeanPostProcessor.java:787)
Caused by: liquibase.exception.LiquibaseException: java.lang.NullPointerException: Cannot invoke "liquibase.structure.core.Column.getType()" because the return value of "liquibase.structure.core.Table.getColumn(String)" is null
at liquibase.Liquibase.runInScope(Liquibase.java:2410)
Caused by: org.flowable.common.engine.api.FlowableException: Error updating eventregistry engine tables
at org.flowable.common.engine.impl.db.LiquibaseBasedSchemaManager.schemaUpdate(LiquibaseBasedSchemaManager.java:129)
试一下这个: