[antlr-interest] Exception at compile

Terence Parr parrt at cs.usfca.edu
Fri Aug 25 14:37:56 PDT 2006


please add antlr 2.7.6 jar as well...v3 is written in v2 for now.
Ter
On Aug 25, 2006, at 1:14 PM, Ilia Kantor wrote:

> I'm trying to run antlr on xml.g from
> http://www.antlr.org/wiki/display/ANTLR3/1.+Lexer
> and can't evade error:
>
> Exception in thread "main" java.lang.NoClassDefFoundError: antlr/ 
> TokenStream
> 	at org.antlr.tool.ErrorManager.setLocale(ErrorManager.java:357)
> 	at org.antlr.tool.ErrorManager.<clinit>(ErrorManager.java:323)
> 	at org.antlr.Tool.main(Tool.java:67)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	at
> sun.reflect.NativeMethodAccessorImpl.invoke 
> (NativeMethodAccessorImpl.java:39)
> 	at
> sun.reflect.DelegatingMethodAccessorImpl.invoke 
> (DelegatingMethodAccessorImpl.java:25)
> 	at java.lang.reflect.Method.invoke(Method.java:585)
> 	at com.intellij.rt.execution.application.AppMain.main(AppMain.java: 
> 90)
>
> What's up ?
>
> I'm running Tool from IntelliJ IDEA.
> The version I use is 3.0b4
> Antlr & stringtemplate from the bundle are in classpath.



More information about the antlr-interest mailing list