activiti-explorer 启动报错 Error creating bean with name 'demoDataConfiguration'

来源:http://blog.csdn.net/huangning2/article/details/9247099

Activiti database setup

As said in the one minute demo setup, the Activiti Explorer runs an in-memory H2 database by default. To run the Activiti Explorer with a standalone H2 or another database the db.properties in the WEB-INF/classes of the Activiti Explorer web application should be changed.

In addition, be aware that the Activiti Explorer generates demo user and groups, process definitions and models by default. To disable this, the activiti-standalone-context.xml file in the WEB-INF folder should be changed. To disable the demo setup fully you can use the following snippet of the demoDataGenerator bean definition. But as you can see you can also enable and disable items individually.

      <bean id="demoDataGenerator" class="org.activiti.explorer.demo.DemoDataGenerator">
        <property name="processEngine" ref="processEngine" />
        <property name="createDemoUsersAndGroups" value="false" />
        <property name="createDemoProcessDefinitions" value="false" />
        <property name="createDemoModels" value="false" />
      </bean>
posted @ 2017-11-23 14:19  任国强  阅读(1722)  评论(0编辑  收藏  举报