-
Notifications
You must be signed in to change notification settings - Fork 3.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Could not deserialize ATN with version 3 (expected 4) with Hibernate 6 #4568
Comments
It's a duplicate. Please take a look at the following issues: |
From above issues, I understand that between antlr Is there any workaround or Apache Spark needs to updated with antlr4 |
Spark parser needs to be regenerated. |
We are trying to use
Apache spark
in our existing application. Spark is usingAntlr4
version4.9
. WhileHibernate 6
is usingAntlr4
version4.10
.Antlr has made changes between 4.9 version and 4.10 version which is causing below issue.
Caused by: java.lang.UnsupportedOperationException: java.io.InvalidClassException: org.antlr.v4.runtime.atn.ATN; Could not deserialize ATN with version 3 (expected 4).
We are using below dependencies in our application which is running with Spring Boot 3.2.3 and Java 17. Below are the maven dependencies we are using.
The text was updated successfully, but these errors were encountered: