You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@shardingsphere.apache.org by GitBox <gi...@apache.org> on 2022/11/24 08:31:14 UTC

[GitHub] [shardingsphere] chenzhenjia commented on pull request #20008: Update antlr4 to 4.10.1 close #19990

chenzhenjia commented on PR #20008:
URL: https://github.com/apache/shardingsphere/pull/20008#issuecomment-1326113068

   my project upgrade to 4.10.1 not working
   
   
   ```
   ANTLR Tool version 4.9.2 used for code generation does not match the current runtime version 4.10.1
   ANTLR Runtime version 4.9.2 used for parser compilation does not match the current runtime version 4.10.1
   
   jakarta.servlet.ServletException: Handler dispatch failed: java.lang.ExceptionInInitializerError
   	at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1095)
   	at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:973)
   	at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:1003)
   	at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:895)
   	at jakarta.servlet.http.HttpServlet.service(HttpServlet.java:527)
   	at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:880)
       .....
   Caused by: java.lang.UnsupportedOperationException: java.io.InvalidClassException: org.antlr.v4.runtime.atn.ATN; Could not deserialize ATN with version 3 (expected 4).
   	at org.antlr.v4.runtime.atn.ATNDeserializer.deserialize(ATNDeserializer.java:56)
   	at org.antlr.v4.runtime.atn.ATNDeserializer.deserialize(ATNDeserializer.java:48)
   	at org.apache.shardingsphere.sql.parser.autogen.MySQLStatementLexer.<clinit>(MySQLStatementLexer.java:4533)
   	... 246 common frames omitted
   Caused by: java.io.InvalidClassException: org.antlr.v4.runtime.atn.ATN; Could not deserialize ATN with version 3 (expected 4).
   	... 249 common frames omitted
   
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@shardingsphere.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org