command line. And I wished to add mariadb jar file for database connection. But when i run ./gradlew run it gives me an error, what is the correct way to add the jar file?
I have tried creating a libs folder in the project root directory and adding the jar file in there, then in build.gradle file adding this:
implementation files('libs/mariadb-java-client-2.3.0.jar')
But this still didn't work, it gave me classNotFounException
I would try to use "../libs/mariadb-java-client-2.3.0.jar" since there is no libs directory in the directory of the build.gradle
Обсуждают сегодня