I tried adding the common-dbutils dependency to my project using sbt by adding the below line to the build.sbt file.
libraryDependencies += "commons-dbutils" % "commons-dbutils" % "1.6"
I didn't get any error as well. Looking at the dependency tree I can see the db-utils added there. Adding the screenshot here. Dependency Tree showing db-utils
But I'm not able to import the dbutils in my code. It gives me an error. Attached screenshot error while importing dbutils.
I tried adding the jar package manually to the .ivy2 folder locally, but that didn't work as well.
Tried clearing the cache, restarting, tried different versions of db-utils, but no luck.
Can someone provide some suggestions here? Any help would be much appreciated.