[stringtemplate-interest] printing using string template

Amrinder Singh asingh05 at vt.edu
Tue Jul 18 20:11:29 PDT 2006


I figured out that we need to build an ST and then use the toString method. 
But when I try to run the statement 
StringTemplateGroup templates =	new StringTemplateGroup(br, 
AngleBracketTemplateLexer.class);
I get the error, NoClassDefFoundError:  antlr/TokenStream
This sems strange since I have both the antlr as well as stringtemplate jar 
files in my classpath.

Amrinder




More information about the stringtemplate-interest mailing list