Hello, I'm running into an odd problem trying to use ICUTokenizer
under a solr installation running under tomcat on ubuntu.  It seems
that all the appropriate JAR files are loaded:

INFO: Adding 'file:/usr/share/solr/lib/lucene-stempel-3.5.0.jar' to classloader
INFO: Adding 'file:/usr/share/solr/lib/lucene-smartcn-3.5.0.jar' to classloader
INFO: Adding 'file:/usr/share/solr/lib/icu4j-4_8_1_1.jar' to classloader
INFO: Adding 'file:/usr/share/solr/lib/lucene-icu-3.5.0.jar' to classloader
INFO: Adding 'file:/usr/share/solr/lib/apache-solr-analysis-extras-3.5.0.jar'
to classloader
... but later: ...
SEVERE: java.lang.NoClassDefFoundError:
org/apache/lucene/analysis/icu/segmentation/ICUTokenizer

I'm not too clear on the correct way to add the contrib bits other
than copying them into the 'lib' directory under solrhome.  They are
obviously found there (and I have verified that ICUTokenizer is in
lucene-icu-3.5.0.jar), but there's still a problem loading the
ICUTokenizer class.  Any tips on troubleshooting this?  Are there more
depenencies that I'm unaware of?

Reply via email to