Lucent Error with Es-client :Please Help

Hi Guys,
I have a very simple ES Client which will send a query to local ES server(1.4.1 version of ES) and get the results and display to the user. Now, I took this code to a different project X and tried to use it along with X because I need some APIs from X.
Now, when I run the same code when i am in X, then I get this error and don't know how to resolve. Can you please help me with this.

Exception in thread "main" java.lang.NoSuchFieldError: LUCENE_3_6
at org.elasticsearch.Version.(
at org.elasticsearch.node.internal.InternalNode.(
at org.elasticsearch.node.NodeBuilder.node(
at org.bmi.elasticsearch.ranking.TestClass2.main(

Thanks for your help in advance.
Venkata Vineel