Why do I get NoClassDefFoundError: antler/Tool ?
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Jeff_Woods
Posted On:   Thursday, November 18, 2004 10:13 AM

Why do I get: Exception in thread ""main"" java.lang.NoClassDefFoundError: antler/Tool -- after building/installing/running antlr from the ""Getting Started"" helps...

Re: Why do I get NoClassDefFoundError: antler/Tool ?

Posted By:   Anonymous  
Posted On:   Friday, December 3, 2004 01:12 AM

Maybe trivial answer: Somewhere, you seem to have typed antler (note the 'e') instead of antlr (without an 'e').


If the typo is only in your posting, try the following: Go to the place where the antlr.jar is located and run the following command:


java -cp antlr.jar antlr.Tool


If it works, there is a problem with calling.
Else, there is a problem with the Jar.


Regards


Harald

About | Sitemap | Contact