Closed Prashant8976 closed 7 months ago
Is there an exception when forcing the new ANTLR version?
Antlr tool version 4.9.3 used for code generation does not match with current runtime version 4.10.1 Antlr tool version 4.9.3 used for parser compilation does not match with current runtime version 4.10.1 Java.io.invalidclassexception:org.antlr.v4.runtime.ATN; could not deserialize ATN with version 4(expected 3)
Antlr tool version 4.10.1 used generation does not match with current runtime version 4.9.3 Antlr tool version 4.10.1 used for parser compilation does not match with current runtime version 4.9.3 Error creating bean with name defined in @EnableJpaRepositries declared on JpaRepositoriesRegistrar.EnableJpaRepositries.Coniguration:null Java.io.invalidclassexception:org.antlr.v4.runtime.ATN; could not deserialize ATN with version 3(expected 4)
ANTLR has information on this issue here: https://github.com/antlr/antlr4/issues/3895 The script that regenerates the parser can be found in esper\compiler\grammar We don't have a date yet when the new version ships, but it would probably ship with the current 4.13.x version of ANTLR.
This also means that esper is incompatible with Spring boot 3, since it uses hibernate 6, which is a critical issue on our project which needs to be migrated urgently to spring boot 3 but it's blocked by esper.
Would be really good to get an update with the new ANTLR version soon. All newer Spring boot versions that still have OSS support require builds with the new ANTL to be compatible. For reference https://endoflife.date/spring-boot
Changes are in version 9.0.0
In latest spring boot applicarion , Esper 8.9.0 uses antlr 4.9.3 which is not working along with hibernate 6.2.* as it uses 4.10.1. Will esper 8.10.0 solve this issue ? When will you release it?