Search in Contributor UI Fails with java.lang.NoSuchMethodError: org/apache/lucene/analysis/standard/StandardAnalyzer.<init>() (Doc ID 2111038.1)

Last updated on JULY 07, 2017

Applies to:

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

Symptoms

Search in Contributor UI is throwing an error:

"Error occurred during search. Please change your search query and try again. If the problem persists, please contact your system administrator."

In sites.log:

 

Changes

Some user has dropped a 3rd party jar, e.g. lucene-analyzers-common-4.5.1.jar, that contains the StandardAnalyzer.class which conflicts with the out of the box one.

Cause

Sign In with your My Oracle Support account

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

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms