Giter Site home page Giter Site logo

Comments (6)

bernhardttom avatar bernhardttom commented on July 16, 2024 1

ANTLR has information on this issue here: antlr/antlr4#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.

from esper.

bernhardttom avatar bernhardttom commented on July 16, 2024

Is there an exception when forcing the new ANTLR version?

from esper.

Prashant8976 avatar Prashant8976 commented on July 16, 2024

Hibernate 6.. adds Antlr-runtime 4.10.1 jar, So esper gives following error

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)

If antlr-runtime 4.9.3 is used, after excluding it from hibernate, jpa annotations doesnt work, it gives following error-

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)

from esper.

ggecy avatar ggecy commented on July 16, 2024

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.

from esper.

thomaskemmer avatar thomaskemmer commented on July 16, 2024

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

from esper.

bernhardttom avatar bernhardttom commented on July 16, 2024

Changes are in version 9.0.0

from esper.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.