Uploaded image for project: 'Jackrabbit Oak'
  1. Jackrabbit Oak
  2. OAK-8698

NoClassDefFound running tests in oak-search-mt

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    Description

      The test runs fine through mvn clean install or when mvn clean test is run inside oak-search-mt folder.

      However, running mvn clean test from trunk throws the following exception:

      [INFO] Running org.apache.jackrabbit.oak.plugins.index.mt.MTFulltextQueryTermsProviderTest
       [ERROR] Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.57 s <<< FAILURE! - in org.apache.jackrabbit.oak.plugins.index.mt.MTFulltextQueryTermsProviderTest
       [ERROR] testGetQueryTermWithPhraseTranslation(org.apache.jackrabbit.oak.plugins.index.mt.MTFulltextQueryTermsProviderTest)  Time elapsed: 0.527 s  <<< ERROR!
       java.lang.NoClassDefFoundError: org/apache/lucene/analysis/standard/StandardTokenizer
          at org.apache.jackrabbit.oak.plugins.index.mt.MTFulltextQueryTermsProviderTest.testGetQueryTermWithPhraseTranslation(MTFulltextQueryTermsProviderTest.java:57)
       Caused by: java.lang.ClassNotFoundException: org.apache.lucene.analysis.standard.StandardTokenizer
          at org.apache.jackrabbit.oak.plugins.index.mt.MTFulltextQueryTermsProviderTest.testGetQueryTermWithPhraseTranslation(MTFulltextQueryTermsProviderTest.java:57)

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            teofili Tommaso Teofili
            fabrizio.fortino@gmail.com Fabrizio Fortino
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment