I'm pretty new to Java, so there might be an easy solution to this:
I get the error message:
No suitable driver found for jdbc:ucanaccess://Y:/...
once I try to establish a connection to a .accdb Database.
However, this only occurs in the exported .jar, which also contains all needed dependecies, using the Maven Assembly Plugin in the pom.xml.
Since all other dependencies are working just fine in the exported .jar and the code is connecting to the database flawlessly inside NetBeans, I am a little clueless what could be causing this.
Also I added the ucanaccess-dependency locally in an earlier build, but I am currently using the latest version from the Maven Repository.
I'm pretty new to Java, so there might be an easy solution to this:
I get the error message:
No suitable driver found for jdbc:ucanaccess://Y:/...
once I try to establish a connection to a .accdb Database.
However, this only occurs in the exported .jar, which also contains all needed dependecies, using the Maven Assembly Plugin in the pom.xml.
Since all other dependencies are working just fine in the exported .jar and the code is connecting to the database flawlessly inside NetBeans, I am a little clueless what could be causing this.
Also I added the ucanaccess-dependency locally in an earlier build, but I am currently using the latest version from the Maven Repository.
Last edit: Paulus 2017-11-08
https://stackoverflow.com/q/47182694/2144390
Sorry, I wasnt aware that its bad practice to ask the question on two sites.