Unable to connect to MySQL through scala JDBC program

I am trying to create a scala JDBC program but when I compile it the error it shows is as below
java.lang.ClassNotFoundException: com.mysql.jdbc.driver

The built.sbt looks as below:
name := “practice”

version := “1.0”

scalaVersion := “2.12.1”

libraryDependencies += “mysql” % “mysql-connector-java” % “5.1.+”

Do I need to make any other changes in order to run the program?

Which IDE you are using? I am not sure whether above dependency is correct. Is it failing in IDE or when you run sbt package?

Also you class name should be com.mysql.jdbc.Driver not com.mysql.jdbc.driver