[antlr-interest] ANTLRv2 grammar to ANTLRv3 conversion error

Johannes Luber jaluber at gmx.de
Mon Jun 11 05:32:14 PDT 2007


William Hubbard wrote:
> Hello, this is my first message to the list.
> I just want to convert an ANTLRv2 grammar to ANTLRv3 with, so I've
> downloaded and unpacked the v2v3-0.2.tar.gz, copied mygrammar.g to the
> same directory and tried
> 
> C:\v2v3>java v3me mygrammar.g
> 
> and this error appeared:
> 
> Exception in thread "main" java.lang.NoClassDefFoundError: v3me
> 
> I missed something? any ideas?

Add the "-cp c:/v3v3" option. Usually this error means that the current
directory isn't in the class path.

Best regards,
Johannes Luber


More information about the antlr-interest mailing list