No suitable driver found for jdbc: oracle: thin:@localhost:1521:orcl
<p>**My JDK:**1.8.0.112</p>

<p>**My oracle:**11.2.0.2 express</p>

<p>**My IDE:**Intelij Idea 13</p>

<p><strong>My code:</strong></p>

<p>package model;
import java.sql.*;</p>

<p>public class PersonDA {</p>

<pre><code>public static void main(String[] args)throws Exception {
    Class.forName("oracle.jdbc.driver.OracleDriver");
    Connection connection=DriverManager.getConnection("jdbc: oracle: thin:@localhost:1521:orcl","*****","********");
    Statement statement= connection.createStatement();
    ResultSet resultSet= statement.executeQuery("SELECT * FROM Person");

    while (  resultSet.next()){

        System.out.println(resultSet.getString("ID"));
        System.out.println(resultSet.getString("name"));

    }
    statement.close();
    connection.close();
}
</code></pre>

<p>}</p>

<p><strong>Exception:</strong>
Exception in thread "main" java.sql.SQLException: <strong>No suitable driver</strong> found for jdbc: oracle: thin:@localhost:1521:orcl</p>

<pre><code>at java.sql.DriverManager.getConnection(DriverManager.java:689)

at java.sql.DriverManager.getConnection(DriverManager.java:247)

at model.PersonDA.main(PersonDA.java:8)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at com.intellij.rt.execution.application.AppMain.main(AppMain.java:147)
</code></pre>