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

NoClassDefFound running tests in oak-search-mt

    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

        1. OAK-8698.patch
          3 kB
          Fabrizio Fortino

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: