Beuth-Erdelt/DBMS-Benchmarker

Postgres Driver class not found

PenguinRage opened this issue · 1 comments

Python: 3.9.7

So I am getting TypeError: Class org.postgresql.Driver is not found. As far as I am aware the driver class is located where I specified. Any thoughts or feedback would be appreciated.

connection.config

[
  {
    'name': "DB Analyser",
    'active': True,
    'JDBC': {
      'driver': "org.postgresql.Driver",
      'url': "jdbc:postgresql://test-core-cluster.cluster-ro.ap-southeast-2.rds.amazonaws.com/postgres",
      'auth': ["x", "y"],
      'jar': "postgresql-42.2.23.jar"
    }
  }
]

Nevermind, Discovered that this also occurs if the jar isn't found at all. Relocating jar from config to root directory of project fixed this issue.