主题 : 部署报错问题如何处理 |
级别: 童生
![]() |
24# 发表于:2020-03-04 16:58:24 IP:1.246.*.*
回复第22楼 改回去不创建大写表了,有报之前版本错了
Caused by: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'cmsWorkflowServiceImpl': Unsatisfied dependency expressed through field 'runtimeService'; 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.FlowableWrongDbException: version mismatch: library version is '6.5.0.1', db version is 5.99.0.0 Hint: Set <property name="databaseSchemaUpdate" to value="true" or value="create-drop" (use create-drop for testing only!) in bean processEngineConfiguration in flowable.cfg.xml for automatic schema creation at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:584) at org.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:90) |
||
---|---|---|---|
级别: 论坛管理员
![]() |
25# 发表于:2020-03-04 17:03:55 IP:117.58.*.*
搞错了 是链接您之前升级后的库就是那个生成了大写的表的数据库 您吧重复的表删除下 删除后就是升级完的库了 然后在启动
|
||
---|---|---|---|
级别: 童生
![]() |
26# 发表于:2020-03-04 17:18:29 IP:1.246.*.*
回复第25楼flowable.database-schema-update=false 这块现在是ture 还是false?
|
||
---|---|---|---|
级别: 论坛管理员
![]() |
28# 发表于:2020-03-04 17:29:13 IP:117.58.*.*
使用false 我的意思是您之前启动的时候不是有创建新的表吗? 您就用那个数据库 只不过您吧重复的表删除掉1个让他不重复就可以了 那个true是一个跟新数据库的配置 您跟新数据库后改为false就可以的
|
||
---|---|---|---|