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 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| ...
                    • 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 ...
                    • 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 below link and then place it inside the above lib ...
                    • Pgsql: Connectivity issue due to pgsql driver (42.2.16) - Compatible till 13005

                      Why? PostgreSQL updated the default fallback behavior in the 42.2.16 driver in a way that breaks support for PostgreSQL instances. This version of the driver was bundled into ServiceDeskplus build version less than 13006. This PostgreSQL bug will ...