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 "Julian Reschke (Jira)" <ji...@apache.org> on 2019/10/14 13:42:00 UTC

[jira] [Updated] (OAK-8698) NoClassDefFound running tests in oak-search-mt

     [ https://issues.apache.org/jira/browse/OAK-8698?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Julian Reschke updated OAK-8698:
--------------------------------
    Summary: NoClassDefFound running tests in oak-search-mt  (was: NoClassDefFound running tests)

> NoClassDefFound running tests in oak-search-mt
> ----------------------------------------------
>
>                 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
>            Assignee: Tommaso Teofili
>            Priority: Major
>             Fix For: 1.20.0
>
>         Attachments: OAK-8698.patch
>
>
> 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:
> {code:java}
> [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){code}



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