[antlr-interest] Re: ASTFrame

rigpa_man maswann at verizon.net
Tue Mar 23 20:43:33 PST 2004


Welcom David,

I had the same problem and finally figured out that the CLASSPATH 
wasn't set right. Don't forget to add a reference to your current 
directory as a single dot ('.') in CLASSPATH. If you don't want to 
touch CLASSPATH, you can do it on the java command line. I think you 
add "-d ." to the command line. I'm not a java programmer so this was 
a tough one for me.

Good luck,

Mark


--- In antlr-interest at yahoogroups.com, "David" <ddavid42 at y...> wrote:
> Hi all,
> 
> I'm curently trying to learn ANTLR. I'm using the documentation made
> by Ashley J.S Mills and when I tried to debug the AST tree throught 
a
> AST Frame I'm getting the following message:
> 
> Exception in thread "main" java.lang.NoClassDefFoundError:
> antlr/debug/misc/ASTFrame$MyTreeSelectionListener
>         at antlr.debug.misc.ASTFrame.<init>(ASTFrame.java:42)
>         at Main.main(Main.java:17)
> 
> Instead of the nice figure 5 on page 16 of the pdf document. I tried
> with some other simpler example and I'm getting the same answer.
> 
> For information I'm using the last version of antlr available on the
> web which is antlr-2.7.3rc3.
> 
> Does anyone know how to solve this problem ?
> 
> David.



 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
     http://groups.yahoo.com/group/antlr-interest/

<*> To unsubscribe from this group, send an email to:
     antlr-interest-unsubscribe at yahoogroups.com

<*> Your use of Yahoo! Groups is subject to:
     http://docs.yahoo.com/info/terms/
 



More information about the antlr-interest mailing list