You are viewing a plain text version of this content. The canonical link for it is here.
Posted to oak-issues@jackrabbit.apache.org by "Fabrizio Fortino (Jira)" <ji...@apache.org> on 2019/10/14 08:07:00 UTC

[jira] [Created] (OAK-8698) NoClassDefFound running tests

Fabrizio Fortino created OAK-8698:
-------------------------------------

             Summary: NoClassDefFound running tests
                 Key: OAK-8698
                 URL: https://issues.apache.org/jira/browse/OAK-8698
             Project: Jackrabbit Oak
          Issue Type: Bug
          Components: search-mt, test
            Reporter: Fabrizio Fortino


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)



--
This message was sent by Atlassian Jira
(v8.3.4#803005)