[antlr-interest] Exception at compile

Ilia Kantor ilia at obnovlenie.ru
Fri Aug 25 13:14:39 PDT 2006


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