异常Maxwell异常 Exception in thread "main" net.sf.jsqlparser.parser.TokenMgrError: Lexical e(代

Posted Questions张

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了异常Maxwell异常 Exception in thread "main" net.sf.jsqlparser.parser.TokenMgrError: Lexical e(代相关的知识,希望对你有一定的参考价值。

1 详细异常

Exception in thread "main" net.sf.jsqlparser.parser.TokenMgrError: Lexical error at line 1, column 596.  Encountered: <EOF> after : ""
    at net.sf.jsqlparser.parser.CCJSqlParserTokenManager.getNextToken(CCJSqlParserTokenManager.java:3124)
    at net.sf.jsqlparser.parser.CCJSqlParser.jj_ntk_f(CCJSqlParser.java:16771)
    at net.sf.jsqlparser.parser.CCJSqlParser.CreateTable(CCJSqlParser.java:9095)
    at net.sf.jsqlparser.parser.CCJSqlParser.SingleStatement(CCJSqlParser.java:168)
    at net.sf.jsqlparser.parser.CCJSqlParser.Statement(CCJSqlParser.java:81)
    at net.sf.jsqlparser.parser.CCJSqlParserUtil.parse(CCJSqlParserUtil.java:54)
    at com.zendesk.maxwell.util.Parsemysql.toPhoenixSQL(ParseMySQL.java:123)
    at com.zendesk.maxwell.schema.MysqlSchemaStore.processSQL(MysqlSchemaStore.java:118)
    at com.zendesk.maxwell.replication.BinlogConnectorReplicator.processQueryEvent(BinlogConnectorReplicator.java:309)
    at com.zendesk.maxwell.replication.BinlogConnectorReplicator.processQueryEvent(BinlogConnectorReplicator.java:331)
    at com.zendesk.maxwell.replication.BinlogConnectorReplicator.getRow(BinlogConnectorReplicator.java:603)
    at com.zendesk.maxwell.replication.BinlogConnectorReplicator.work(BinlogConnectorReplicator.java:175)
    at com.zendesk.maxwell.util.RunLoopProcess.runLoop(RunLoopProcess.java:34)
    at com.zendesk.maxwell.Maxwell.startInner(Maxwell.java:222)
    at com.zendesk.maxwell.Maxwell.start(Maxwell.java:156)
    at com.zendesk.maxwell.Maxwell.main(Maxwell.java:243)

  

2 解决问题

处理表更改语句的sql有问题
 
maxwell的源代码有问题 注释掉处理表结构变更的代码,然后重新编译版本部署

以上是关于异常Maxwell异常 Exception in thread "main" net.sf.jsqlparser.parser.TokenMgrError: Lexical e(代的主要内容,如果未能解决你的问题,请参考以下文章

(转)Exception in thread "main" java.lang.NullPointerException java报空指针异常

Exception in thread "Thread-1" java.util.ConcurrentModificationException 异常原因和解决方法

Hbase delete遇到的常见异常: Exception in thread "main" java.lang.UnsupportedOperationException(代码

Maven异常Exception in thread "main" java.lang.UnsupportedClassVersionError: org/apache/mav(代

exception throw in progress runner thread_VS2015中SVN源代码无说明提交异常

异常Exception in thread "main" java.lang.IllegalArgumentException: Illegal pattern c