ConnectALL UI service won't start after the upgrade with error "Factory method 'jdbcConfig' threw exception with message: Failed to load driver class org.postgresql.Driver"
search cancel

ConnectALL UI service won't start after the upgrade with error "Factory method 'jdbcConfig' threw exception with message: Failed to load driver class org.postgresql.Driver"

book

Article ID: 420898

calendar_today

Updated On:

Products

ConnectAll On-Prem ConnectALL

Issue/Introduction

Upgraded to 4.0 but UI service won't start and shows error below in catalina.out log.

    Caused by: org.springframework.beans.BeanInstantiationException: Failed to instantiate [com.go2group.connectall.util.CustomBasicDataSource]: Factory method 'jdbcConfig' threw exception with message: Failed to load driver class org.postgresql.Driver in either of HikariConfig class loader or Thread context classloader

Environment

4.0

Cause

The issue is because of missing postgres.jar in ../UI/tomcat/lib/ directory

Resolution

Place the postgres.jar in ../UI/tomcat/lib/ directory and start ConnectALL UI service again.