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 "Tommaso Teofili (Jira)" <ji...@apache.org> on 2019/10/14 12:39:00 UTC

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

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

Tommaso Teofili resolved OAK-8698.
----------------------------------
    Fix Version/s: 1.20.0
       Resolution: Fixed

applied patch from Fabrizio in r1868445, thanks!

> 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
>            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)