On 1/27/23 13:09, Matthew Castrigno wrote:
We have been running SOLR 9.0 on Red Hat nix. We spun up another server
and installed SOLR 9.0 on it.
We believe we have identical installs however the same calls produce
this 500 error.
Getting java.lang.NoClassDefFoundError: Lorg/apache/lucene/index/Term;
means that it's not able to find a very core Lucene class. I see two
possible causes, with the second being more likely:
* The install wasn't complete and there are jar files missing.
* You have loaded the core Lucene jars more than once. They should get
loaded once just from the default Solr install, but by enabling some
non-default functionality, you may have caused them to get loaded again.
Java tends to have issues when the same jar gets loaded more than
once, or when the install already has a jar and a different version of
that jar also gets loaded.
Thanks,
Shawn