jmix-framework / jmix

Jmix framework
https://www.jmix.io
Apache License 2.0
561 stars 121 forks source link

OracleDatabaseException: ORA-00942. BPM addon + Oracle #1978

Open rusiaikinat opened 1 year ago

rusiaikinat commented 1 year ago

Jmix version: 2.0.0

TC Create a project with an Oracle database; Add a BPM addon Launch a project

AR

Caused by: oracle.jdbc.OracleDatabaseException: ORA-00942: ������� ��� ������������� ������������ �� ����������

Caused by: oracle.jdbc.OracleDatabaseException: ORA-00942: ������� ��� ������������� ������������ �� ����������

Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'processEngine': FactoryBean threw exception on object creation

Caused by: org.flowable.common.engine.api.FlowableException: Error initialising eventregistry data model

Caused by: org.flowable.common.engine.api.FlowableException: couldn't upgrade db schema: insert into ACT_GE_PROPERTY values ('common.schema.version', '6.2.0.0', 1)

Caused by: java.sql.SQLSyntaxErrorException: ORA-00942: ������� ��� ������������� ������������ �� ����������
Caused by: oracle.jdbc.OracleDatabaseException: ORA-00942: ������� ��� ������������� ������������ �� ����������

Execution failed for task ':bootRun'.
> Process 'command 'C:\Users\rusiaikinatn\.jdks\temurin-17.0.7\bin\java.exe'' finished with non-zero exit value 1
gorbunkov commented 10 months ago

The issue looks similar to https://github.com/jmix-framework/jmix/issues/1085 and the problem is probably that the database is not empty and already contains a schema with Flowable database tables.