日期:2014-05-16 浏览次数:20611 次
C:\hive\BAK>java -cp antlr-2.7.7.jar;antlr-3.0.1.jar;stringtemplate-3.1b1.jar or g.antlr.Tool Hive.g
ANTLR Parser Generator Version 3.0.1 (August 13, 2007) 1989-2007 warning(200): Hive.g:1461:5: Decision can match input such as "Identifier DOT Id entifier" using multiple alternatives: 1, 2 As a result, alternative(s) 2 were disabled for that input
C:\hive\BAK>java antlr.Tool Hive.g ANTLR Parser Generator Version 2.7.7 (20060906) 1989-2005 Hive.g:17:1: unexpected token: grammar error: Token stream error reading grammar(s): Hive.g:247:1: unexpected char: '@' Hive.g:17:1: rule classDef trapped: Hive.g:17:1: unexpected token: grammar error: aborting grammar 'unknown grammar' due to errors TokenStreamException: unexpected char: '@'
C:\hive\BAK>java org.antlr.Tool Hive.g Exception in thread "main" java.lang.NoClassDefFoundError: org/antlr/Tool
Exception in thread "main" java.lang.NoClassDefFoundError: org/antlr/stringtempl ate/StringTemplateErrorListener at org.antlr.Tool.main(Tool.java:67)