H2-db exception

why this error is coming?
“org.camunda.commons.logging.BaseLogger.logError ENGINE-03015 Problem during schema operation ‘create’ with statement ‘create index ACT_IDX_EXEC_TENANT_ID on ACT_RU_EXECUTION(TENANT_ID_)’. Cause: ‘The operation failed because an index or statistics with name ‘ACT_IDX_EXEC_TENANT_ID’ already exists on table ‘ACT_RU_EXECUTION’.’”

cheers,
Jauhari

Hi @jauhari,

beacause you try initialize your H2 database which is configured to persist data into a file, most likely. Since that file is already exists and contains data, you cannot create indexes 2 times in it. Just delete old copy of database or set engine configuration not to create database on startup.

Cheers,
Askar