Error encountered while "CommissionAmount Programming" :: CCA 175 exam



I am following new “25 set videos” for CCA 175 certification course. In the 5th video, Durga sir has demonstrated a program for calculating commission Amount. I created a scala file and the try to compile it using sbt command, but it is throwing error on “com.mysql.jdbc.Driver”

Please see below screenshot:

And, my program looks like:

Please help…


have u imported jdbc mysql jar in ur sbt dependency?


Hello Balu,

Thank you for replying.

Just to let you know, I am performing these labs on ITversity labs. And have nothing installed on my local machine. Even I write my codes directly in there only.

I am really not sure, if I am supposed to import “jdbc MySQL jar” in my sbt dependency or not?

If it is needed, please let me know how to do it.


use github… checkin your code and share here… othw it will impossible to help u


Hello Mario,

Here is the link :


Sorry for the late reply. I was busy with office work.

If you have not found the solution. I guess you have not added the dependency in the project.

name := “LearningScalaConcepts”

version := “1.0”

scalaVersion := “2.12.1”

libraryDependencies += “com.typesafe” % “config” % “1.3.1”
libraryDependencies += “mysql” % “mysql-connector-java” % “5.1.36”

You need to add the above dependency.