title: Java noclassdeffounderror while running the river plugin for elasticsearch
body: <p>I have successfully installed the elasticsearch and I tried the quick start guide to install the elasticsearch river plugin for jdbc, but when I try to start fetching of a sql table, I keep encountering this error, can someone shed a light on what went wrong? Thanks.</p>
  
  <p>CreationException[Guice creation errors:\n\n1) Error injecting constructor, java.util.ServiceConfigurationError: org.xbib.elasticsearch.river.jdbc.RiverMouth: Provider org.xbib.elasticsearch.river.jdbc.strategy.simple.SimpleRiverMouth could not be instantiated: java.lang.NoClassDefFoundError: org/elasticsearch/ElasticsearchTimeoutException\n  at org.xbib.elasticsearch.river.jdbc.JDBCRiver.(Unknown Source)\n  while locating org.xbib.elasticsearch.river.jdbc.JDBCRiver\n  while locating org.elasticsearch.river.River\n\n1 error]; nested: ServiceConfigurationError[org.xbib.elasticsearch.river.jdbc.RiverMouth: Provider org.xbib.elasticsearch.river.jdbc.strategy.simple.SimpleRiverMouth could not be instantiated: java.lang.NoClassDefFoundError: org/elasticsearch/ElasticsearchTimeoutException]; nested: NoClassDefFoundError[org/elasticsearch/ElasticsearchTimeoutException]; nested: ClassNotFoundException[org.elasticsearch.ElasticsearchTimeoutException];</p>
  
  <p>I suspect its a classpath issue, but then again elasticsearch starts up correctly. Here is the execution path:</p>
  
  <pre><code>/usr/bin/java -Xms256m -Xmx1g -Xss256k -Djava.awt.headless=true -XX:+UseParNewGC -XX:+UseConcMarkSweepGC -XX:CMSInitiatingOccupancyFraction=75 -XX:+UseCMSInitiatingOccupancyOnly -XX:+HeapDumpOnOutOfMemoryError -Delasticsearch -Des.pidfile=/var/run/elasticsearch/elasticsearch.pid -Des.path.home=/usr/share/elasticsearch -cp :/usr/share/elasticsearch/lib/elasticsearch-0.90.10.jar:/usr/share/elasticsearch/lib/*:/usr/share/elasticsearch/lib/sigar/* -Des.default.path.home=/usr/share/elasticsearch -Des.default.path.logs=/var/log/elasticsearch -Des.default.path.data=/var/lib/elasticsearch -Des.default.path.work=/tmp/elasticsearch -Des.default.path.conf=/etc/elasticsearch org.elasticsearch.bootstrap.ElasticSearch
  </code></pre>
  
  <p>========================================================================</p>