Skip to content

antlr-runtime dependency of arcadedb-engine is incompatible with hibernate 6 which requires antlr-runtime 4.10 or above #4647

Description

@cmettier

The version of antlr-runtime currently required by arcadedb-engine (4.9.1) is incompatible with a number of other thirdparty products used with springboot 3 / spring 6, such as hibernate 6. The runtime error when invoking arcadedb code is:
java.lang.UnsupportedOperationException: java.io.InvalidClassException: org.antlr.v4.runtime.atn.ATN; Could not deserialize ATN with version 3 (expected 4).

Because of this issue, projects which use hibernate and/or many other libraries with springboot 3 / spring 6 are not compatible with arcadedb-engine.

The fix needed to address this issue is for arcadedb-engine to start using antlr-runtime 4.10 or above (such as 4.13.2 which is latest at the time of writing this).

For a better explanation, you can read the following antlr4 issue: antlr/antlr4#4568
Where you replace all references of "Apache Spark" in the entire defect with "arcadedb-engine".

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

Fields

No fields configured for Task.

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions