# ClassNotFoundException using kuromoji analyzer

**URL:** <https://discuss.elastic.co/t/classnotfoundexception-using-kuromoji-analyzer/13948>\
**Category:** Elasticsearch\
**Created:** [October 14, 2013, 9:39pm UTC](https://discuss.elastic.co/t/classnotfoundexception-using-kuromoji-analyzer/13948 "2013-10-14T21:39:17Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![slushi](https://avatars.discourse-cdn.com/v4/letter/s/3e96dc/32.png) [@slushi](https://discuss.elastic.co/u/slushi)\
**Post date:** [October 14, 2013, 9:39pm UTC](https://discuss.elastic.co/t/classnotfoundexception-using-kuromoji-analyzer/13948/1 "2013-10-14T21:39:17Z")

</div>

I am using version 0.90.3 with kuromoji 1.5. After install, I can't seem to  
use the analyzer. I run:

curl -XPUT '[http://localhost:9200/k/](http://localhost:9200/k/)' -d '{  
"analysis" : {  
"analyzer" : {  
"\_kuromoji" : {  
"type" : "kuromoji"  
}  
}  
}  
}'

but get an error:  
{  
"error": "IndexCreationException[[k] failed to create index]; nested:  
ElasticSearchIllegalArgumentException[failed to find analyzer type  
[kuromoji] or tokenizer for [\_kuromoji]]; nested:  
NoClassSettingsException[Failed to load class setting [type] with value  
[kuromoji]]; nested:  
ClassNotFoundException[org.elasticsearch.index.analysis.kuromoji.KuromojiAnalyzerProvider];  
",  
"status": 400  
}

The class name seems wrong in the error message. The kuromoji package  
doesn't seem to exist in the repo. I get the same error for the  
smart\_chinese plugin. Has anyone got these to work?

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<div class="post-metadata">

**Author:** ![slushi](https://avatars.discourse-cdn.com/v4/letter/s/3e96dc/32.png) [@slushi](https://discuss.elastic.co/u/slushi)\
**Post date:** [October 14, 2013, 11:34pm UTC](https://discuss.elastic.co/t/classnotfoundexception-using-kuromoji-analyzer/13948/2 "2013-10-14T23:34:56Z")

</div>

never mind, restarting the node did the trick

On Monday, October 14, 2013 5:39:17 PM UTC-4, slushi wrote:

> I am using version 0.90.3 with kuromoji 1.5. After install, I can't seem  
> to use the analyzer. I run:
> 
> curl -XPUT '[http://localhost:9200/k/](http://localhost:9200/k/)' -d '{  
> "analysis" : {  
> "analyzer" : {  
> "\_kuromoji" : {  
> "type" : "kuromoji"  
> }  
> }  
> }  
> }'
> 
> but get an error:  
> {  
> "error": "IndexCreationException[[k] failed to create index]; nested:  
> ElasticSearchIllegalArgumentException[failed to find analyzer type  
> [kuromoji] or tokenizer for [\_kuromoji]]; nested:  
> NoClassSettingsException[Failed to load class setting [type] with value  
> [kuromoji]]; nested:  
> ClassNotFoundException[org.elasticsearch.index.analysis.kuromoji.KuromojiAnalyzerProvider];  
> ",  
> "status": 400  
> }
> 
> The class name seems wrong in the error message. The kuromoji package  
> doesn't seem to exist in the repo. I get the same error for the  
> smart\_chinese plugin. Has anyone got these to work?

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [July 6, 2017, 2:12am UTC](https://discuss.elastic.co/t/classnotfoundexception-using-kuromoji-analyzer/13948/3 "2017-07-06T02:12:29Z")

</div>


