# Couchdb-river not working in 0.12.1?

**URL:** <https://discuss.elastic.co/t/couchdb-river-not-working-in-0-12-1/3541>\
**Category:** Elasticsearch\
**Created:** [November 10, 2010, 12:27am UTC](https://discuss.elastic.co/t/couchdb-river-not-working-in-0-12-1/3541 "2010-11-10T00:27:35Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Darren\_Hobbs](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/darren_hobbs/32/3311_2.png) [@Darren\_Hobbs](https://discuss.elastic.co/u/Darren_Hobbs)\
**Post date:** [November 10, 2010, 12:27am UTC](https://discuss.elastic.co/t/couchdb-river-not-working-in-0-12-1/3541/1 "2010-11-10T00:27:35Z")

</div>

Doesn't seem to be working in 0.12.1. Creating a couchdb database  
called 'foo' and running the following against elasticsearch:

plugin install river-couchdb

curl -XPUT '[http://localhost:9200/foo](http://localhost:9200/foo)'

curl -XPUT 'localhost:9200/\_river/foo/\_meta' -d '{  
"type" : "couchdb",  
"couchdb" : {  
"host" : "localhost",  
"port" : 5984,  
"db" : "foo",  
"filter" : null  
}  
}'

Gives me:

org.elasticsearch.common.settings.NoClassSettingsException: Failed to  
load class with value [couchdb]  
at org.elasticsearch.river.RiverModule.loadTypeModule(RiverModule.java:77)  
at org.elasticsearch.river.RiverModule.spawnModules(RiverModule.java:53)  
at org.elasticsearch.common.inject.ModulesBuilder.add(ModulesBuilder.java:44)  
at org.elasticsearch.river.RiversService.createRiver(RiversService.java:115)  
at org.elasticsearch.river.RiversService$ApplyRivers$1.onResponse(RiversService.java:181)  
at org.elasticsearch.river.RiversService$ApplyRivers$1.onResponse(RiversService.java:176)  
at org.elasticsearch.action.support.single.TransportSingleOperationAction$AsyncSingleAction$1.run(TransportSingleOperationAction.java:135)  
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)  
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)  
at java.lang.Thread.run(Thread.java:637)  
Caused by: java.lang.ClassNotFoundException: couchdb  
at java.net.URLClassLoader$1.run(URLClassLoader.java:202)  
at java.security.AccessController.doPrivileged(Native Method)  
at java.net.URLClassLoader.findClass(URLClassLoader.java:190)  
at java.lang.ClassLoader.loadClass(ClassLoader.java:307)  
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)  
at java.lang.ClassLoader.loadClass(ClassLoader.java:248)  
at org.elasticsearch.river.RiverModule.loadTypeModule(RiverModule.java:63)  
... 9 more

---

<div class="post-metadata">

**Author:** ![kimchy](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/kimchy/32/44952_2.png) [@kimchy](https://discuss.elastic.co/u/kimchy)\
**Post date:** [November 10, 2010, 10:53am UTC](https://discuss.elastic.co/t/couchdb-river-not-working-in-0-12-1/3541/2 "2010-11-10T10:53:37Z")

</div>

Have you installed the couchdb plugin?

On Wed, Nov 10, 2010 at 2:27 AM, Darren Hobbs [darren.hobbs@gmail.com](mailto:darren.hobbs@gmail.com)wrote:

> Doesn't seem to be working in 0.12.1. Creating a couchdb database  
> called 'foo' and running the following against elasticsearch:
> 
> plugin install river-couchdb
> 
> curl -XPUT '[http://localhost:9200/foo](http://localhost:9200/foo)'
> 
> curl -XPUT 'localhost:9200/\_river/foo/\_meta' -d '{  
> "type" : "couchdb",  
> "couchdb" : {  
> "host" : "localhost",  
> "port" : 5984,  
> "db" : "foo",  
> "filter" : null  
> }  
> }'
> 
> Gives me:
> 
> org.elasticsearch.common.settings.NoClassSettingsException: Failed to  
> load class with value [couchdb]  
> at org.elasticsearch.river.RiverModule.loadTypeModule(RiverModule.java:77)  
> at org.elasticsearch.river.RiverModule.spawnModules(RiverModule.java:53)  
> at  
> org.elasticsearch.common.inject.ModulesBuilder.add(ModulesBuilder.java:44)  
> at  
> org.elasticsearch.river.RiversService.createRiver(RiversService.java:115)  
> at  
> org.elasticsearch.river.RiversService$ApplyRivers$1.onResponse(RiversService.java:181)  
> at  
> org.elasticsearch.river.RiversService$ApplyRivers$1.onResponse(RiversService.java:176)  
> at  
> org.elasticsearch.action.support.single.TransportSingleOperationAction$AsyncSingleAction$1.run(TransportSingleOperationAction.java:135)  
> at  
> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)  
> at  
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)  
> at java.lang.Thread.run(Thread.java:637)  
> Caused by: java.lang.ClassNotFoundException: couchdb  
> at java.net.URLClassLoader$1.run(URLClassLoader.java:202)  
> at java.security.AccessController.doPrivileged(Native Method)  
> at java.net.URLClassLoader.findClass(URLClassLoader.java:190)  
> at java.lang.ClassLoader.loadClass(ClassLoader.java:307)  
> at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)  
> at java.lang.ClassLoader.loadClass(ClassLoader.java:248)  
> at org.elasticsearch.river.RiverModule.loadTypeModule(RiverModule.java:63)  
> ... 9 more

---

<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, 4:16am UTC](https://discuss.elastic.co/t/couchdb-river-not-working-in-0-12-1/3541/3 "2017-07-06T04:16:49Z")

</div>


