/usr/share/java contains the following relevant .jar files: postgresql-jdbc3.jar postgresql-42.2.15.jar postgresql-jdbc4.jar postgresql.jar. I have tried with both 7.5.1 and 7.4.29.
Thank you for looking at this.
Robin Shen commented 2 years ago
Please copy postgres jdbc jar file into directory <OneDev install dir>/site/lib and restart it to see if it works. Also make sure not to put multiple versions of postgresql jdbc jar into that directory. The one compatible with your database server is expected.
I have installed libpostgresql-jdbc-java on Debian Bullseye, ARM 64 arch, and am getting the following error on startup with both java 11 and java 17.
ERROR [WrapperSimpleAppMain] i.onedev.commons.bootstrap.Bootstrap Error booting application java.lang.RuntimeException: java.lang.ClassNotFoundException: org.postgresql.Driver
/usr/share/java contains the following relevant .jar files: postgresql-jdbc3.jar postgresql-42.2.15.jar postgresql-jdbc4.jar postgresql.jar. I have tried with both 7.5.1 and 7.4.29.
Thank you for looking at this.