title: hive-jdbc-standalone.jar not loaded by tomcat 7
body: <p>I am trying to connect to hive thrift server (hiveserver2) from web application.
  I created dynamic web project in Eclipse, and added following jars under WEB-INF/lib -</p>
  
  <ul>
  <li>hive-jdbc-0.14.0-standalone.jar</li>
  <li>hive-jdbc-0.14.0.jar </li>
  <li>hadoop-common-2.6.0.jar </li>
  <li>mongo-hadoop-core.jar</li>
  <li>mongo-hadoop-hive.jar </li>
  <li>mongo-java-driver.jar</li>
  </ul>
  
  <p>I am using tomcat 7.0.61. When I deploy the application to tomcat server, it gives following message and does not load hive-jdbc-0.14.0-standalone.jar</p>
  
  <pre><code>INFO:     validateJarFile(C:\EclipseWorkspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\HiveWeb\WEB-INF\lib\hive-jdbc-0.14.0-standalone.jar) - jar not loaded. See Servlet Spec 3.0, section 10.7.2. Offending class: javax/servlet/Servlet.class
  </code></pre>
  
  <p>It seems javax.servlet.Servlet.class in hive-jdbc-0.14.0-standalone.jar and tomcat/lib are conflicting. I need hive-jdbc-0.14.0-standalone.jar for connecting to hiveserver.</p>
  
  <p>I tried to add hive-jdbc-0.14.0-standalone.jar in tomcat/lib directory. But tomcat fail to start due to that.</p>
  
  <p>Is there a way to exclude javax.servlet.Servlet from either hive-jdbc-0.14.0-standalone.jar or tomcat?</p>