Error creating bean with name 'modelEditorJsonRestResource'...through field 'repositoryService'

Activiti的ACT_GE_PROPERTY表 未初始化,造成以下原因:
2019-04-25 22:30:50,192 DEBUG [jeeplus.modules.act.rest.DispatcherServletConfiguration] - Creating requestMappingHandlerMapping
2019-04-25 22:30:50,210 DEBUG [jeeplus.modules.act.rest.DispatcherServletConfiguration] - Configuring localeChangeInterceptor
2019-04-25 22:30:51,169 WARN  [springframework.web.context.support.XmlWebApplicationContext] - Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'modelEditorJsonRestResource': Unsatisfied dependency expressed through field 'repositoryService'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'processEngine': FactoryBean threw exception on object creation; nested exception is org.activiti.engine.ActivitiWrongDbException: version mismatch: activiti library version is '5.21.0.0', db version is null Hint: Set <property name="databaseSchemaUpdate" to value="true" or value="create-drop" (use create-drop for testing only!) in bean processEngineConfiguration in activiti.cfg.xml for automatic schema creation2019-04-25 22:30:51,170 DEBUG [com.jeeplus.common.utils.SpringContextHolder] - 清除SpringContextHolder中的ApplicationContext:Root WebApplicationContext: startup date [Thu Apr 25 22:30:44 CST 2019]; root of context hierarchy2019-04-25 22:30:51,173 ERROR [springframework.beans.factory.support.DefaultListableBeanFactory] - Destroy method on bean with name 'shiroCacheManager' threw an exceptionorg.springframework.beans.FatalBeanException: Error destroying bean [shiroCacheManager]; nested exception is redis.clients.jedis.exceptions.JedisConnectionException: JedisPubSub was not subscribed to a Jedis instance.    at org.apache.shiro.spring.LifecycleBeanPostProcessor.postProcessBeforeDestruction(LifecycleBeanPostProcessor.java:123)    
at org.springframework.beans.factory.support.DisposableBeanAdapter.destroy(DisposableBeanAdapter.java:253)    
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.destroyBean(DefaultSingletonBeanRegistry.java:578)    
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.destroySingleton(DefaultSingletonBeanRegistry.java:554)    
at org.springframework.beans.factory.support.DefaultListableBeanFactory.destroySingleton(DefaultListableBeanFactory.java:959)    
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.destroySingletons(DefaultSingletonBeanRegistry.java:523)    
at org.springframework.beans.factory.support.DefaultListableBeanFactory.destroySingletons(DefaultListableBeanFactory.java:966)    
at org.springframework.context.support.AbstractApplicationContext.destroyBeans(AbstractApplicationContext.java:1033)    
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:555)    
at org.springframework.web.context.ContextLoader.configureAndRefreshWebApplicationContext(ContextLoader.java:444)    
at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:326)    
...

初始化脚本:

INSERT INTO `act_ge_property` VALUES ('next.dbid', '1', '1');
INSERT INTO `act_ge_property` VALUES ('schema.history', 'create(5.18.0.1) upgrade(5.18.0.1->5.21.0.0)', '2');
INSERT INTO `act_ge_property` VALUES ('schema.version', '5.21.0.0', '2');

 

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值