Lucene version issue


For a test purposes I am trying to insert Elasticsearch client into a project that already contains Lucene
dependencies. To that end I create TransportClient instance, which, if I am not mistaken, should
be independent of Lucene jars; elasticsearch-0.90.7.jar is added to the project.

However, I get the following exception during the run time:

java.lang.NoClassDefFoundError: org/apache/lucene/util/Version
at org.elasticsearch.Version.(
at org.elasticsearch.client.transport.TransportClient.(
at org.elasticsearch.client.transport.TransportClient.(
at com.my6sense.server.managers.searchengine.ElasticSearchEngine.esteblishConnection(
at com.my6sense.server.managers.searchengine.ElasticSearchEngine.(
at com.my6sense.server.managers.managers.MainService.indexingStatistics(

Do you know what does this exception mean and is there a "clean" way to integrate ES client into a project with Lucene?

Thank you in advance,