ubuntu系统中启动进程报错

ubuntu系统下,启动进程时始终报错,数据库使用root账号也不行,windows环境下一切正常,报错如下

-------------------------------------------------


2025-01-02 16:55:31.615 |  INFO 410277 | main [TID: N/A] c.j.server.JeeLowCodeApplication         | Starting JeeLowCodeApplication using Java 1.8.0_432 on ubuntu63 with PID 410277 (/app/jeelowcode/jeelowcode-admin/target/jeelowcode-admin.jar started by root in /app/jeelowcode/jeelowcode-admin/target)

2025-01-02 16:55:31.630 |  INFO 410277 | main [TID: N/A] c.j.server.JeeLowCodeApplication         | The following 1 profile is active: "local"

2025-01-02 16:55:54.002 |  INFO 410277 | main [TID: N/A] o.s.b.w.embedded.tomcat.TomcatWebServer  | Tomcat initialized with port(s): 48080 (http)

2025-01-02 16:55:54.119 |  INFO 410277 | main [TID: N/A] o.apache.catalina.core.StandardService   | Starting service [Tomcat]

2025-01-02 16:55:54.121 |  INFO 410277 | main [TID: N/A] org.apache.catalina.core.StandardEngine  | Starting Servlet engine: [Apache Tomcat/9.0.83]

2025-01-02 16:55:54.569 |  INFO 410277 | main [TID: N/A] o.a.c.c.C.[Tomcat].[localhost].[/]       | Initializing Spring embedded WebApplicationContext

2025-01-02 16:55:54.570 |  INFO 410277 | main [TID: N/A] w.s.c.ServletWebServerApplicationContext | Root WebApplicationContext: initialization completed in 21540 ms

2025-01-02 16:55:58.052 |  INFO 410277 | main [TID: N/A] com.alibaba.druid.pool.DruidDataSource   | {dataSource-1,master} inited

2025-01-02 16:55:58.066 |  INFO 410277 | main [TID: N/A] c.b.d.d.DynamicRoutingDataSource         | dynamic-datasource - add a datasource named [slave] success

2025-01-02 16:55:58.070 |  INFO 410277 | main [TID: N/A] c.b.d.d.DynamicRoutingDataSource         | dynamic-datasource - add a datasource named [master] success

2025-01-02 16:55:58.070 |  INFO 410277 | main [TID: N/A] c.b.d.d.DynamicRoutingDataSource         | dynamic-datasource initial loaded [2] datasource,primary datasource named [master]

2025-01-02 16:56:07.882 |  INFO 410277 | main [TID: N/A] org.redisson.Version                     | Redisson 3.18.0

2025-01-02 16:56:08.670 |  INFO 410277 | redisson-netty-2-5 [TID: N/A] o.r.c.pool.MasterPubSubConnectionPool    | 1 connections initialized for 127.0.0.1/127.0.0.1:6379

2025-01-02 16:56:08.814 |  INFO 410277 | redisson-netty-2-19 [TID: N/A] o.r.c.pool.MasterConnectionPool          | 24 connections initialized for 127.0.0.1/127.0.0.1:6379

2025-01-02 16:56:23.461 |  INFO 410277 | main [TID: N/A] c.x.c.s.i.BlockPuzzleCaptchaServiceImpl  | --->>>xingyuv captcha-plus 初始化验证码底图<<<---blockPuzzle

2025-01-02 16:56:26.821 |  INFO 410277 | main [TID: N/A] c.i.y.m.s.s.s.SensitiveWordServiceImpl   | [initLocalCache][缓存敏感词,数量为:0]

2025-01-02 16:56:29.911 |  INFO 410277 | main [TID: N/A] org.quartz.impl.StdSchedulerFactory      | Using default implementation for ThreadExecutor

2025-01-02 16:56:29.983 |  INFO 410277 | main [TID: N/A] org.quartz.core.SchedulerSignalerImpl    | Initialized Scheduler Signaller of type: class org.quartz.core.SchedulerSignalerImpl

2025-01-02 16:56:29.984 |  INFO 410277 | main [TID: N/A] org.quartz.core.QuartzScheduler          | Quartz Scheduler v.2.3.2 created.

2025-01-02 16:56:29.994 |  INFO 410277 | main [TID: N/A] o.s.s.quartz.LocalDataSourceJobStore     | Using db table-based data access locking (synchronization).

2025-01-02 16:56:29.999 |  INFO 410277 | main [TID: N/A] o.s.s.quartz.LocalDataSourceJobStore     | JobStoreCMT initialized.

2025-01-02 16:56:30.001 |  INFO 410277 | main [TID: N/A] org.quartz.core.QuartzScheduler          | Scheduler meta-data: Quartz Scheduler (v2.3.2) 'schedulerName' with instanceId 'ubuntu631735808189927'

  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 25 threads.

  Using job-store 'org.springframework.scheduling.quartz.LocalDataSourceJobStore' - which supports persistence. and is clustered.


2025-01-02 16:56:30.002 |  INFO 410277 | main [TID: N/A] org.quartz.impl.StdSchedulerFactory      | Quartz scheduler 'schedulerName' initialized from an externally provided properties instance.

2025-01-02 16:56:30.002 |  INFO 410277 | main [TID: N/A] org.quartz.impl.StdSchedulerFactory      | Quartz scheduler version: 2.3.2

2025-01-02 16:56:30.002 |  INFO 410277 | main [TID: N/A] org.quartz.core.QuartzScheduler          | JobFactory set to: org.springframework.scheduling.quartz.SpringBeanJobFactory@1f408ab6

2025-01-02 16:56:35.049 |  INFO 410277 | main [TID: N/A] o.f.s.b.e.EventRegistryAutoConfiguration | No deployment resources were found for autodeployment

2025-01-02 16:56:38.043 |  INFO 410277 | main [TID: N/A] o.f.s.SpringProcessEngineConfiguration   | Found 2 Engine Configurators in total:

2025-01-02 16:56:38.043 |  INFO 410277 | main [TID: N/A] o.f.s.SpringProcessEngineConfiguration   | class org.flowable.eventregistry.spring.configurator.SpringEventRegistryConfigurator (priority:100000)

2025-01-02 16:56:38.044 |  INFO 410277 | main [TID: N/A] o.f.s.SpringProcessEngineConfiguration   | class org.flowable.idm.engine.configurator.IdmEngineConfigurator (priority:150000)

2025-01-02 16:56:38.044 |  INFO 410277 | main [TID: N/A] o.f.s.SpringProcessEngineConfiguration   | Executing beforeInit() of class org.flowable.eventregistry.spring.configurator.SpringEventRegistryConfigurator (priority:100000)

2025-01-02 16:56:38.061 |  INFO 410277 | main [TID: N/A] o.f.s.SpringProcessEngineConfiguration   | Executing beforeInit() of class org.flowable.idm.engine.configurator.IdmEngineConfigurator (priority:150000)

2025-01-02 16:56:42.039 |  INFO 410277 | main [TID: N/A] o.f.s.SpringProcessEngineConfiguration   | Executing configure() of class org.flowable.eventregistry.spring.configurator.SpringEventRegistryConfigurator (priority:100000)

2025-01-02 16:56:54.397 |  INFO 410277 | main [TID: N/A] liquibase.lockservice                    | Successfully acquired change log lock

2025-01-02 16:56:56.203 |  INFO 410277 | main [TID: N/A] liquibase.changelog                      | Reading from db_jeelowcode.FLW_EV_DATABASECHANGELOG

2025-01-02 16:56:56.507 |  INFO 410277 | main [TID: N/A] liquibase.lockservice                    | Successfully released change log lock

2025-01-02 16:56:56.509 |  INFO 410277 | main [TID: N/A] o.f.e.impl.EventRegistryEngineImpl       | EventRegistryEngine default created

2025-01-02 16:56:56.513 |  INFO 410277 | main [TID: N/A] o.f.s.SpringProcessEngineConfiguration   | Executing configure() of class org.flowable.idm.engine.configurator.IdmEngineConfigurator (priority:150000)

2025-01-02 16:56:56.611 |  INFO 410277 | main [TID: N/A] o.f.idm.engine.impl.IdmEngineImpl        | IdmEngine default created

2025-01-02 16:56:56.674 |  INFO 410277 | main [TID: N/A] o.f.i.s.i.d.IdentityLinkDbSchemaManager  | performing create on identitylink with resource org/flowable/identitylink/service/db/create/flowable.mysql.create.identitylink.sql

2025-01-02 16:56:56.675 |  INFO 410277 | main [TID: N/A] o.f.i.s.i.d.IdentityLinkDbSchemaManager  | Found MySQL: majorVersion=8 minorVersion=0

2025-01-02 16:56:57.969 |  INFO 410277 | main [TID: N/A] o.f.i.s.i.d.IdentityLinkDbSchemaManager  | performing create on identitylink.history with resource org/flowable/identitylink/service/db/create/flowable.mysql.create.identitylink.history.sql

2025-01-02 16:56:57.970 |  INFO 410277 | main [TID: N/A] o.f.i.s.i.d.IdentityLinkDbSchemaManager  | Found MySQL: majorVersion=8 minorVersion=0

2025-01-02 16:56:58.848 |  INFO 410277 | main [TID: N/A] o.f.e.s.i.db.EntityLinkDbSchemaManager   | performing create on entitylink with resource org/flowable/entitylink/service/db/create/flowable.mysql.create.entitylink.sql

2025-01-02 16:56:58.848 |  INFO 410277 | main [TID: N/A] o.f.e.s.i.db.EntityLinkDbSchemaManager   | Found MySQL: majorVersion=8 minorVersion=0

2025-01-02 16:56:59.764 |  INFO 410277 | main [TID: N/A] o.f.e.s.i.db.EntityLinkDbSchemaManager   | performing create on entitylink.history with resource org/flowable/entitylink/service/db/create/flowable.mysql.create.entitylink.history.sql

2025-01-02 16:56:59.764 |  INFO 410277 | main [TID: N/A] o.f.e.s.i.db.EntityLinkDbSchemaManager   | Found MySQL: majorVersion=8 minorVersion=0

2025-01-02 16:57:00.734 |  INFO 410277 | main [TID: N/A] e.s.i.d.EventSubscriptionDbSchemaManager | performing create on eventsubscription with resource org/flowable/eventsubscription/service/db/create/flowable.mysql.create.eventsubscription.sql

2025-01-02 16:57:00.734 |  INFO 410277 | main [TID: N/A] e.s.i.d.EventSubscriptionDbSchemaManager | Found MySQL: majorVersion=8 minorVersion=0

2025-01-02 16:57:01.286 |  INFO 410277 | main [TID: N/A] o.f.t.s.impl.db.TaskDbSchemaManager      | performing create on task with resource org/flowable/task/service/db/create/flowable.mysql.create.task.sql

2025-01-02 16:57:01.286 |  INFO 410277 | main [TID: N/A] o.f.t.s.impl.db.TaskDbSchemaManager      | Found MySQL: majorVersion=8 minorVersion=0

2025-01-02 16:57:02.151 |  INFO 410277 | main [TID: N/A] o.f.t.s.impl.db.TaskDbSchemaManager      | performing create on task.history with resource org/flowable/task/service/db/create/flowable.mysql.create.task.history.sql

2025-01-02 16:57:02.152 |  INFO 410277 | main [TID: N/A] o.f.t.s.impl.db.TaskDbSchemaManager      | Found MySQL: majorVersion=8 minorVersion=0

2025-01-02 16:57:03.148 |  INFO 410277 | main [TID: N/A] o.f.v.s.impl.db.VariableDbSchemaManager  | performing create on variable with resource org/flowable/variable/service/db/create/flowable.mysql.create.variable.sql

2025-01-02 16:57:03.149 |  INFO 410277 | main [TID: N/A] o.f.v.s.impl.db.VariableDbSchemaManager  | Found MySQL: majorVersion=8 minorVersion=0

2025-01-02 16:57:03.725 | ERROR 410277 | main [TID: N/A] o.f.v.s.impl.db.VariableDbSchemaManager  | problem during schema create, statement alter table ACT_RU_VARIABLE 

add constraint ACT_FK_VAR_BYTEARRAY 

foreign key (BYTEARRAY_ID_) 

references ACT_GE_BYTEARRAY (ID_)


java.sql.SQLException: Duplicate foreign key constraint name 'ACT_FK_VAR_BYTEARRAY'

        at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:130)

        at com.mysql.cj.jdbc.exceptions.SQLExceptionsMapping.translateException(SQLExceptionsMapping.java:122)

        at com.mysql.cj.jdbc.StatementImpl.executeInternal(StatementImpl.java:763)

        at com.mysql.cj.jdbc.StatementImpl.execute(StatementImpl.java:648)

        at com.alibaba.druid.filter.FilterChainImpl.statement_execute(FilterChainImpl.java:3009)

        at com.alibaba.druid.filter.FilterAdapter.statement_execute(FilterAdapter.java:2483)

        at com.alibaba.druid.filter.FilterEventAdapter.statement_execute(FilterEventAdapter.java:182)

        at com.alibaba.druid.filter.FilterChainImpl.statement_execute(FilterChainImpl.java:3007)

        at com.alibaba.druid.proxy.jdbc.StatementProxyImpl.execute(StatementProxyImpl.java:143)

        at com.alibaba.druid.pool.DruidPooledStatement.execute(DruidPooledStatement.java:635)

        at org.flowable.common.engine.impl.db.AbstractSqlScriptBasedDbSchemaManager.executeSchemaResource(AbstractSqlScriptBasedDbSchemaManager.java:325)

        at org.flowable.common.engine.impl.db.AbstractSqlScriptBasedDbSchemaManager.executeSchemaResource(AbstractSqlScriptBasedDbSchemaManager.java:238)

        at org.flowable.common.engine.impl.db.AbstractSqlScriptBasedDbSchemaManager.executeMandatorySchemaResource(AbstractSqlScriptBasedDbSchemaManager.java:226)

        at org.flowable.common.engine.impl.db.ServiceSqlScriptBasedDbSchemaManager.internalDbSchemaCreate(ServiceSqlScriptBasedDbSchemaManager.java:49)

        at org.flowable.common.engine.impl.db.ServiceSqlScriptBasedDbSchemaManager.schemaCreate(ServiceSqlScriptBasedDbSchemaManager.java:44)

        at org.flowable.common.engine.impl.db.ServiceSqlScriptBasedDbSchemaManager.schemaUpdate(ServiceSqlScriptBasedDbSchemaManager.java:91)

        at org.flowable.engine.impl.db.ProcessDbSchemaManager.schemaUpdate(ProcessDbSchemaManager.java:255)

        at org.flowable.engine.impl.SchemaOperationsProcessEngineBuild.execute(SchemaOperationsProcessEngineBuild.java:54)

        at org.flowable.engine.impl.SchemaOperationsProcessEngineBuild.execute(SchemaOperationsProcessEngineBuild.java:28)

        at org.flowable.engine.impl.interceptor.CommandInvoker$1.run(CommandInvoker.java:67)

        at org.flowable.engine.impl.interceptor.CommandInvoker.executeOperation(CommandInvoker.java:140)

        at org.flowable.engine.impl.interceptor.CommandInvoker.executeOperations(CommandInvoker.java:114)

        at org.flowable.engine.impl.interceptor.CommandInvoker.execute(CommandInvoker.java:72)

        at org.flowable.engine.impl.interceptor.BpmnOverrideContextInterceptor.execute(BpmnOverrideContextInterceptor.java:26)

        at org.flowable.common.engine.impl.interceptor.TransactionContextInterceptor.execute(TransactionContextInterceptor.java:53)

        at org.flowable.common.engine.impl.interceptor.CommandContextInterceptor.execute(CommandContextInterceptor.java:105)

        at org.flowable.common.spring.SpringTransactionInterceptor.lambda$execute$0(SpringTransactionInterceptor.java:57)

        at org.springframework.transaction.support.TransactionTemplate.execute(TransactionTemplate.java:140)

        at org.flowable.common.spring.SpringTransactionInterceptor.execute(SpringTransactionInterceptor.java:57)

        at org.flowable.common.engine.impl.interceptor.LogInterceptor.execute(LogInterceptor.java:30)

        at org.flowable.common.engine.impl.cfg.CommandExecutorImpl.execute(CommandExecutorImpl.java:56)

        at org.flowable.engine.impl.ProcessEngineImpl.<init>(ProcessEngineImpl.java:83)

        at org.flowable.engine.impl.cfg.ProcessEngineConfigurationImpl.buildProcessEngine(ProcessEngineConfigurationImpl.java:907)

        at org.flowable.spring.SpringProcessEngineConfiguration.buildProcessEngine(SpringProcessEngineConfiguration.java:76)

        at org.flowable.spring.ProcessEngineFactoryBean.getObject(ProcessEngineFactoryBean.java:59)

        at org.flowable.spring.ProcessEngineFactoryBean.getObject(ProcessEngineFactoryBean.java:32)

        at org.springframework.beans.factory.support.FactoryBeanRegistrySupport.doGetObjectFromFactoryBean(FactoryBeanRegistrySupport.java:169)

        at org.springframework.beans.factory.support.FactoryBeanRegistrySupport.getObjectFromFactoryBean(FactoryBeanRegistrySupport.java:101)

        at org.springframework.beans.factory.support.AbstractBeanFactory.getObjectForBeanInstance(AbstractBeanFactory.java:1898)

        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.getObjectForBeanInstance(AbstractAutowireCapableBeanFactory.java:1284)

        at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:345)

        at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:208)

        at org.springframework.beans.factory.config.DependencyDescriptor.resolveCandidate(DependencyDescriptor.java:276)

        at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1391)

        at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1311)

        at org.springframework.beans.factory.support.ConstructorResolver.resolveAutowiredArgument(ConstructorResolver.java:911)

        at org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:788)

        at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:536)

        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:1352)

        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1195)

        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:582)

        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)

        at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:333)

        at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:208)

        at org.springframework.beans.factory.config.DependencyDescriptor.resolveCandidate(DependencyDescriptor.java:276)

        at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1391)

        at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1311)

        at org.springframework.context.annotation.CommonAnnotationBeanPostProcessor.autowireResource(CommonAnnotationBeanPostProcessor.java:544)

        at org.springframework.context.annotation.CommonAnnotationBeanPostProcessor.getResource(CommonAnnotationBeanPostProcessor.java:520)

        at org.springframework.context.annotation.CommonAnnotationBeanPostProcessor$ResourceElement.getResourceToInject(CommonAnnotationBeanPostProcessor.java:673)

        at org.springframework.beans.factory.annotation.InjectionMetadata$InjectedElement.inject(InjectionMetadata.java:228)

        at org.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:119)

        at org.springframework.context.annotation.CommonAnnotationBeanPostProcessor.postProcessProperties(CommonAnnotationBeanPostProcessor.java:329)

        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1431)

        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:619)

        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)

        at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:333)

        at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:208)

        at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:955)

        at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:929)

        at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:591)

        at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:147)

        at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:732)

        at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:409)

        at org.springframework.boot.SpringApplication.run(SpringApplication.java:308)

        at org.springframework.boot.SpringApplication.run(SpringApplication.java:1300)

        at org.springframework.boot.SpringApplication.run(SpringApplication.java:1289)

        at com.jeelowcode.server.JeeLowCodeApplication.main(JeeLowCodeApplication.java:37)

        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)

        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

        at java.lang.reflect.Method.invoke(Method.java:498)

        at org.springframework.boot.loader.MainMethodRunner.run(MainMethodRunner.java:49)

        at org.springframework.boot.loader.Launcher.launch(Launcher.java:108)

        at org.springframework.boot.loader.Launcher.launch(Launcher.java:58)

        at org.springframework.boot.loader.JarLauncher.main(JarLauncher.java:65)


2025-01-02 16:57:03.774 |  WARN 410277 | main [TID: N/A] ConfigServletWebServerApplicationContext | Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'bpmProcessInstanceCopyServiceImpl': Injection of resource dependencies failed; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'runtimeServiceBean' defined in class path resource [org/flowable/spring/boot/ProcessEngineServicesAutoConfiguration.class]: Unsatisfied dependency expressed through method 'runtimeServiceBean' parameter 0; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'processEngine': FactoryBean threw exception on object creation; nested exception is org.flowable.common.engine.api.FlowableException: couldn't create db schema: alter table ACT_RU_VARIABLE 

add constraint ACT_FK_VAR_BYTEARRAY 

foreign key (BYTEARRAY_ID_) 

references ACT_GE_BYTEARRAY (ID_)

2025-01-02 16:57:03.780 |  INFO 410277 | main [TID: N/A] o.s.s.quartz.SchedulerFactoryBean        | Shutting down Quartz Scheduler

2025-01-02 16:57:03.780 |  INFO 410277 | main [TID: N/A] org.quartz.core.QuartzScheduler          | Scheduler schedulerName_$_ubuntu631735808189927 shutting down.

2025-01-02 16:57:03.781 |  INFO 410277 | main [TID: N/A] org.quartz.core.QuartzScheduler          | Scheduler schedulerName_$_ubuntu631735808189927 paused.

2025-01-02 16:57:04.284 |  INFO 410277 | main [TID: N/A] org.quartz.core.QuartzScheduler          | Scheduler schedulerName_$_ubuntu631735808189927 shutdown complete.

2025-01-02 16:57:04.394 |  INFO 410277 | main [TID: N/A] c.b.d.d.DynamicRoutingDataSource         | dynamic-datasource start closing ....

2025-01-02 16:57:04.400 |  INFO 410277 | main [TID: N/A] com.alibaba.druid.pool.DruidDataSource   | {dataSource-0} closing ...

2025-01-02 16:57:04.401 |  INFO 410277 | main [TID: N/A] c.b.d.d.d.DefaultDataSourceDestroyer     | dynamic-datasource close the datasource named [slave] success,

2025-01-02 16:57:04.401 |  INFO 410277 | main [TID: N/A] com.alibaba.druid.pool.DruidDataSource   | {dataSource-1} closing ...

2025-01-02 16:57:04.421 |  INFO 410277 | main [TID: N/A] com.alibaba.druid.pool.DruidDataSource   | {dataSource-1} closed

2025-01-02 16:57:04.422 |  INFO 410277 | main [TID: N/A] c.b.d.d.d.DefaultDataSourceDestroyer     | dynamic-datasource close the datasource named [master] success,

2025-01-02 16:57:04.423 |  INFO 410277 | main [TID: N/A] c.b.d.d.DynamicRoutingDataSource         | dynamic-datasource all closed success,bye

2025-01-02 16:57:04.429 |  INFO 410277 | main [TID: N/A] o.apache.catalina.core.StandardService   | Stopping service [Tomcat]

2025-01-02 16:57:04.493 |  INFO 410277 | main [TID: N/A] ConditionEvaluationReportLoggingListener | 


Error starting ApplicationContext. To display the conditions report re-run your application with 'debug' enabled.

2025-01-02 16:57:04.569 | ERROR 410277 | main [TID: N/A] o.s.boot.SpringApplication               | Application run failed


org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'bpmProcessInstanceCopyServiceImpl': Injection of resource dependencies failed; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'runtimeServiceBean' defined in class path resource [org/flowable/spring/boot/ProcessEngineServicesAutoConfiguration.class]: Unsatisfied dependency expressed through method 'runtimeServiceBean' parameter 0; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'processEngine': FactoryBean threw exception on object creation; nested exception is org.flowable.common.engine.api.FlowableException: couldn't create db schema: alter table ACT_RU_VARIABLE 

add constraint ACT_FK_VAR_BYTEARRAY 

foreign key (BYTEARRAY_ID_) 

references ACT_GE_BYTEARRAY (ID_)

        at org.springframework.context.annotation.CommonAnnotationBeanPostProcessor.postProcessProperties(CommonAnnotationBeanPostProcessor.java:332)

        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1431)

        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:619)

        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)

        at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:333)

        at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:208)

        at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:955)

        at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:929)

        at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:591)

        at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:147)

        at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:732)

        at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:409)

        at org.springframework.boot.SpringApplication.run(SpringApplication.java:308)

        at org.springframework.boot.SpringApplication.run(SpringApplication.java:1300)

        at org.springframework.boot.SpringApplication.run(SpringApplication.java:1289)

        at com.jeelowcode.server.JeeLowCodeApplication.main(JeeLowCodeApplication.java:37)

        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)

        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

        at java.lang.reflect.Method.invoke(Method.java:498)

        at org.springframework.boot.loader.MainMethodRunner.run(MainMethodRunner.java:49)

        at org.springframework.boot.loader.Launcher.launch(Launcher.java:108)

        at org.springframework.boot.loader.Launcher.launch(Launcher.java:58)

        at org.springframework.boot.loader.JarLauncher.main(JarLauncher.java:65)

Caused by: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'runtimeServiceBean' defined in class path resource [org/flowable/spring/boot/ProcessEngineServicesAutoConfiguration.class]: Unsatisfied dependency expressed through method 'runtimeServiceBean' parameter 0; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'processEngine': FactoryBean threw exception on object creation; nested exception is org.flowable.common.engine.api.FlowableException: couldn't create db schema: alter table ACT_RU_VARIABLE 

add constraint ACT_FK_VAR_BYTEARRAY 


评论区

超级管理员 2025-01-02 17:14

看着是流程影响的,可以把act_和flw_开头的表删除掉,程序会自动新建回来的

nieyaoyao 2025-01-02 19:57

@超级管理员 感谢,已经顺利启动
回复