#926  can't find org.postgresql.Driver on debian bullseye/arm64
Closed
int80h opened 2 years ago

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.

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.

int80h commented 2 years ago

That got me to the /init page, thank you!

Robin Shen changed state to 'Closed' 2 years ago
Previous Value Current Value
Open
Closed
issue 1 of 1
Type
Bug
Priority
Normal
Assignee
Affected Versions
Not Found
Issue Votes (0)
Watchers (3)
Reference
onedev/server#926
Please wait...
Page is in error, reload to recover