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 2020/05/22 08:12:37 UTC

[GitHub] [shardingsphere] JOYS369 commented on issue #5723: shardingJDBC-4.0.0-RC3+spring-4.3+mybatis-3.3 java.lang.NoClassDefFoundError: org/antlr/v4/runtime/CharStreams

JOYS369 commented on issue #5723:
URL: https://github.com/apache/shardingsphere/issues/5723#issuecomment-632561224


   > log details and what sql you executed?
   
   I can't start my project.
   
   log details:
   [antlr version is : 4.5.3]:
   at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1624)
   	... 244 common frames omitted
   Caused by: java.lang.ClassNotFoundException: org.antlr.v4.runtime.CharStreams
   	at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1308)
   [2020-05-22 04:11:51,701] Artifact core:war: Error during artifact deployment. See server log for details.
   	at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1142)
   	... 260 common frames omitted
   
   
   
   
   [antlr version is : 4.8]:
   at org.springframework.jdbc.core.JdbcTemplate.execute(JdbcTemplate.java:408)
   	at org.springframework.jdbc.core.JdbcTemplate.query(JdbcTemplate.java:474)
   	at org.springframework.jdbc.core.JdbcTemplate.query(JdbcTemplate.java:484)
   	at com.hand.hap.core.impl.LanguageProviderImpl.reload(LanguageProviderImpl.java:62)
   	at com.hand.hap.core.impl.LanguageProviderImpl.afterPropertiesSet(LanguageProviderImpl.java:54)
   	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1687)
   	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1624)
   	... 244 common frames omitted
   Caused by: java.lang.UnsupportedOperationException: java.io.InvalidClassException: org.antlr.v4.runtime.atn.ATN; Could not deserialize ATN with UUID 59627784-3be5-417a-b9eb-8131a7286089 (expected aadb8d7e-aeef-4415-ad2b-8204d6cf042e or a legacy UUID).
   	at org.antlr.v4.runtime.atn.ATNDeserializer.deserialize(ATNDeserializer.java:153)
   	at org.apache.shardingsphere.core.parse.autogen.MySQLStatementLexer.<clinit>(MySQLStatementLexer.java:3096)
   	... 264 common frames omitted
   Caused by: java.io.InvalidClassException: org.antlr.v4.runtime.atn.ATN; Could not deserialize ATN with UUID 59627784-3be5-417a-b9eb-8131a7286089 (expected aadb8d7e-aeef-4415-ad2b-8204d6cf042e or a legacy UUID).
   	... 266 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.

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