Restore issue - java.lang.ClassNotFoundException: org.postgresql.Driver

Restore issue - java.lang.ClassNotFoundException: org.postgresql.Driver

Error: 

java.lang.ClassNotFoundException: org.postgresql.Driver
at java.net.URLClassLoader$1.run(URLClassLoader.java:366)
at java.net.URLClassLoader$1.run(URLClassLoader.java:355)

Solution:

1. Install a fresh instance of the same build you are using in a different machine
2. Copy the below files from ManageEngine\ServiceDeskPlus-MSP\lib from the fresh instance to the production
  1. postgresql_jdbc3  postgresql_jdbc4

                  New to ADSelfService Plus?

                    • Related Articles

                    • Alternative for Full Backup - Trimmed backup

                      Applicable till 8.1 version (Till 8121 builds) Nowadays the database size is huge in various users instance. It is because the indexing related files, archived files, file attachments are folder are huge in size. Due to which either our application ...
                    • Scheduled Backup Failure

                      Sometimes the scheduled backup fails due to the below error in the logs, Error Message org.postgresql.util.PSQLException: An I/O error occured while sending to the backend. at ...
                    • Scheduled Backup failure due to permission issue in pgsql folder

                      Error Traces: [com.adventnet.db.adapter.BackupRestoreUtil]|[WARNING]|[250]: pg_basebackup: could not get write-ahead log end position from server: ERROR: could not open file "./pg_hba.conf_3may23.bkp": Permission denied| ...
                    • Pgsql: Connectivity issue due to pgsql driver (42.2.16) - Compatible till 13005

                      Please follow the below instructions: -> Go to <Installation-directory>/Servicedesk/lib folder and move the postgresql-42.2.16.jar to a different location as a backup. -> Now download the jar from the attachment(Extract the zip) and then place it ...
                    • Application startup issue due to mismatch in java

                      A startup issue after the upgrade to the version 14.3 Error message: "Application startup halted due to mismatch in java". Issue: After a JRE upgrade, typically, if the "jre_old" folder exists, it will be deleted. Then, the "jre" folder will be ...