Java api fail_on_symbol_hash_overflow error

Then if that was the whole classpath before, Lucene is indeed not there and I believe that that is your problem.