[antlr-interest] Problem with StringTemplate

Michael micha-1 at fantasymail.de
Sun May 3 23:57:29 PDT 2009


Am Monday 04 May 2009 08:34:55 schrieb Nauman:
> Hi all,
>
> I'm relatively new with Antlr and I'm having a little trouble with
> StringTemplate. I tried searching on the mailing lists but without any
> luck.
>
>
> I'm trying to use the StringTemplate in a simple example. I get this error
> when I try to run my test file.
> *
> *
> I'm using StringTemplate 3.2 and antlr 3.1.3. I can see that TokenStream
> class is present in the org.antlr.runtime package. The buildpath is set
> correctly and both stringtemplate and antlr jars are referenced properly.
>
> Is there a version conflict here? The StringTemplate comes with antlr 2.7.7
> but I don't want to use that. I want to use antlr v3. Can anyone help me
> out here?

you are using it: antlr3 depends on it, so add it to the classpath

cheers
 Michael


More information about the antlr-interest mailing list