My Oracle Support Banner

SearchEngine customization fails with error - java.lang.ClassNotFoundException: com.fatwire.search.lucene.LuceneSearchEngine (Doc ID 2742267.1)

Last updated on JANUARY 06, 2023

Applies to:

Oracle WebCenter Sites - Version 12.2.1.0.0 and later
Information in this document applies to any platform.

Symptoms

Created a custom class that extends com.fatwire.search.lucene.LuceneSearchEngine class.
After deploying this custom class, whenever a controller attempts to use a Searcher, see following error:

Steps:
1. Deploy jar file with custom code to DOMAIN_HOME/lib folder
2. In Sites Explorer, update SearchEngineMetaDataConfig with custom class, and click Save
3. Open a page whose controller executes a search
4. Search fails due to this error

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Cause
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.