> > I used command line to build ant this time. > Before calling 'ant dist' where did you copy the ComplexPhrase-1.0.jar?
apache-solr-1.4.0\lib or apache-solr-1.4.0\example\lib? > Yes I ran solr using "java -jar start.jar". I did the above > mentioned tasks > but the results were the same. can you delete the \apache-solr-1.4.0\example\solr\lib\ComplexPhrase-1.0.jar and test again? If classnotfound exception comes then it means that your new solr.war does not contain it.