Hi Vaibhav, I apologize. I missed a line in the documentation.
By adding the hadoop-core*.jar file, everything worked as expected. Best regards, Jone On 26 Feb 2014, at 11:58, Vaibhav Gumashta <vgumas...@hortonworks.com> wrote: > Hi Jone, > > What version of jetty are you using? It is possible that you have multiple > versions in your classpath. > > Thanks, > --Vaibhav > > > On Fri, Feb 21, 2014 at 5:31 AM, Jone Lura <jone.l...@ecc.no> wrote: > Hi, > > I have encountered a problem when I try to deploy my application on Jetty. > > In my Junit test environment everything works fine, whilst deploying the same > application in Jetty I receive the following message; > > java.lang.NoClassDefFoundError: org/apache/hadoop/conf/Configuration > at > org.apache.hive.service.cli.thrift.EmbeddedThriftCLIService.<init>(EmbeddedThriftCLIService.java:32) > > In my classpath I have included the hive-jdbc-0.11.0.jar, > hive-service-0.11.0.jar, libfb303-0.9.1.jar, libthrift-0.9.1.jar in addition > to the log jars, which according to the documentation should be sufficient > when connecting to a remote hive server. > > Do I miss something? For me it seems like its trying to connect to an > embedded environment, although I am not quite sure. > > Any ideas? > > > Best regards, > > Jone > > > CONFIDENTIALITY NOTICE > NOTICE: This message is intended for the use of the individual or entity to > which it is addressed and may contain information that is confidential, > privileged and exempt from disclosure under applicable law. If the reader of > this message is not the intended recipient, you are hereby notified that any > printing, copying, dissemination, distribution, disclosure or forwarding of > this communication is strictly prohibited. If you have received this > communication in error, please contact the sender immediately and delete it > from your system. Thank You.