jolicode / emoji-search

:smile: Emoji synonyms to build your own emoji-capable search engine (elasticsearch, solr, OpenSearch)
https://jolicode.com/blog/elasticsearch-icu-now-understands-emoji
MIT License
218 stars 64 forks source link

Parsing signatures failed: Method not found while parsing signature: java.lang.Thread#stop(java.lang.Throwable) #22

Closed giannispan2103 closed 6 years ago

giannispan2103 commented 6 years ago

I am trying to build with gradle in my local machine but I got this:

Task :forbiddenApisMain FAILED

FAILURE: Build failed with an exception.

The stacktrace prints the following:

damienalexandre commented 6 years ago

Thanks for reporting this issue, which versions do you have for Gradle? Java? And what version of Elasticsearch would you like to use?

giannispan2103 commented 6 years ago

I have java 11 and gradle 4.10.2. I am trying to build a similar project which I would like to use Elasticsearch 6.4.2 and I meet similar issues. Thank you in advance

damienalexandre commented 6 years ago

I have no idea, and this plugin is not tested with 6.4 yet. Maybe try to disable this task:

forbiddenApisMain.enabled = false

Also it's worth saying that Emoji Search Plugin is no longer needed as of Elastic 6.4, because ICU has been updated and the ICU Tokenizer can handle this properly now. I'm in the process of documenting the whole thing.

giannispan2103 commented 6 years ago

Problem solved. Your code works with forbiddenApisTest.enabled = false forbiddenApisMain.enabled = false Thank you very much!

damienalexandre commented 6 years ago

Feel free to close this issue if it's resolved ;-)

On Wed, Oct 31, 2018 at 3:13 PM Yiannis Panagiotakis < notifications@github.com> wrote:

Your code works with forbiddenApisTest.enabled = false forbiddenApisMain.enabled = false Thank you very much!

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/jolicode/emoji-search/issues/22#issuecomment-434702590, or mute the thread https://github.com/notifications/unsubscribe-auth/AANxqMPwXcFBnV5qmCMGYb4Zp73cM2T0ks5uqa_7gaJpZM4YECxI .

-- Damien ALEXANDRE dalexandre@jolicode.com +33 6 07 91 58 03 +33 9 67 24 97 52

JoliCode, Expertise Web et Mobile https://jolicode.com/