title: Unable to load jdbc driver eclipse
body: <p>I get the following error while trying to load MySQL Driver:</p>
  
  <pre><code>  java.lang.ClassNotFoundException: com.mysql.jdbc.Driver
        at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
        at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
        at java.lang.Class.forName0(Native Method)
        at java.lang.Class.forName(Class.java:171)
        at amazon.category.database.MerchantAdoptionStats.main(MerchantAdoptionStats.java:96)
  </code></pre>
  
  <p>Th relevant code is:</p>
  
  <pre><code>try {
      Class.forName("com.mysql.jdbc.Driver");   //line 96
      //Some more code
  } catch (ClassNotFoundException ex) {
          ex.printStackTrace();
  }
  </code></pre>
  
  <p>I am using eclipse and here are the settings(please see the added jar in <code>classpath</code>):</p>
  
  <p><img src="https://i.stack.imgur.com/r42Vr.png" alt="enter image description here"></p>
  
  <p>What else am I missing?</p>
  
  <p>EDIT:
  Run time configrations:</p>
  
  <p><img src="https://i.stack.imgur.com/zCy9O.png" alt="enter image description here"></p>