title: Error loading Hive driver: ClassNotFoundException: org.apache.hive.jdbc.HiveDriver
body: <p>While connecting Java with Hive I am getting this error</p>
  
  <pre><code>java.lang.ClassNotFoundException: org.apache.hive.jdbc.HiveDriver
      at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1702)
      at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1547)
      at java.lang.Class.forName0(Native Method)
      at java.lang.Class.forName(Class.java:190)
      at com.scsu.auth.DBAuth.getHIVEAnalysisConnection(DBAuth.java:45)
      at com.scsu.dao.HIVEDAOImpl.getDatabaseTables(HIVEDAOImpl.java:83)
      at com.scsu.facade.HIVEFacadeImpl.getDatabaseTables(HIVEFacadeImpl.java:18)
      at com.scsu.servlets.LoginServlet.doPost(LoginServlet.java:59)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:647)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:728)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
      at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:51)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
  </code></pre>
  
  <p>It seems to me that this error is due to missing Hive driver</p>