https://bugs.documentfoundation.org/show_bug.cgi?id=170823
Bug ID: 170823
Summary: "Impossible to load the JDBC driver" when preparing
LibreOffice to connect to a Microsoft Access database
Product: LibreOffice
Version: 25.2.3.2 release
Hardware: x86-64 (AMD64)
OS: Linux (All)
Status: UNCONFIRMED
Severity: normal
Priority: medium
Component: Documentation
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected]
I followed these instructions to prepare LibreOffice to connect to a Microsoft
Access database:
https://wiki.documentfoundation.org/Faq/Base/How_to_connect_to_a_Microsoft_Access_database#Prepare_LibreOffice
Then, I followed these steps:
https://wiki.documentfoundation.org/Faq/Base/How_to_connect_to_a_Microsoft_Access_database#Connecting
When I used the Test Class button to check that the driver could be loaded, I
got the error message "Impossible to load the JDBC driver" in the GUI and this
in the console:
Exception in thread "Thread-0" java.lang.NoClassDefFoundError:
net/ucanaccess/jdbc/UcanloadDriver
Caused by: java.lang.ClassNotFoundException: net.ucanaccess.jdbc.UcanloadDriver
at
java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:641)
at
java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:188)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:525)
I made it work that way
"In the following dialog select the Add archive button and navigate to the
folder where you unzipped the driver, inside this folder select the loader
folder and inside it the ucanload.jar file. Click on Open and then close all
dialogs with the OK button."
instead of following literally this step:
"In the following dialog select the Add folder button and navigate to the
folder where you unzipped the driver, inside this folder select the loader
folder and inside it the ucanload.jar file. Click on Open and then close all
dialogs with the OK button."
I simply suggest to replace "Add folder" by "Add archive" in the documentation.
--
You are receiving this mail because:
You are the assignee for the bug.