[antlr-interest] missing class for QSLite grammer

Jeffrey Newman jeffn at photorepo.com
Sun Dec 5 17:13:59 PST 2010


Hi,
I'm trying to work with a SQLite grammar.
I was able to get the interpreter to give me a parse tree for a simple
create table.
When I tried to run the debugger I got the following errors.

I assume this means I am missing the SqlJetParserException class.
How do I resolve this? I assume that I need to download the class from
the web, place it in a directory, then set my classpath to point to said
directory. Is this correct? And where would I download this beast from?

thanks

Jeffrey




[16:51:19] /home/jeffn/Documents/output/SqlParser.java:375: cannot find
symbol
[16:51:19] symbol  : class SqlJetParserException
[16:51:19] location: class
org.tmatesoft.sqljet.core.internal.lang.SqlParser
[16:51:19]         throw new SqlJetParserException(buffer.toString(),
e);
[16:51:19]                   ^
[16:51:20] /home/jeffn/Documents/output/SqlLexer.java:256: cannot find
symbol
[16:51:20] symbol  : class SqlJetParserException
[16:51:20] location: class
org.tmatesoft.sqljet.core.internal.lang.SqlLexer
[16:51:20]          throw new SqlJetParserException(buffer.toString(),
e);
[16:51:20]                    ^
[16:51:20] Note: /home/jeffn/Documents/output/SqlParser.java uses
unchecked or unsafe operations.
[16:51:20] Note: Recompile with -Xlint:unchecked for details.
[16:51:20] 2 errors



More information about the antlr-interest mailing list