Re: Maven NoClassDefFound Error

2015-07-03 Thread Robert Patrick
You should really try the Users mailing list, as this list is reserved for Maven developers... It's not clear at all what you are trying to do. In Maven, when you build your project into a JAR, that JAR will only contain the code from the project so to run that JAR (and not any of the dependen

Maven NoClassDefFound Error

2015-07-03 Thread Kartik Singhal
Hi I am working on a maven project on NetBeans and binding it in jar using Maven Jar plugin. While working on NetBeans the project runs fine, but when I run its .jar file its gives the following error Exception in thread "main" java.lang.NoClassDefFoundError: org/elasticsearch/index/query/QueryBu