Re: Compiling TermsComponent for use with Solr 1.3
: I've copied TermsComponent and TermsParams from trunk into my own package
: and Eclipse isn't reporting any build errors
...
: SEVERE: java.lang.ClassCastException:
: com.titanpublishing.solr.TermsComponent cannot be cast to
: org.apache.solr.util.plugin.NamedListInitializedPlugin
TermsComponent extends SearchComponent which implements
NamedListInitializedPlugin ... so if you are getting that error t run
time, but you aren't getting any errors at compile time, that typically
suggests that the classpath you compiled against isn't the same as your
run time classpath -- there are probably differences in the
NamedListInitializedPlugin between the version you are compiling against,
and the version you are using at run time.
-Hoss