Database config problem

Good afternoon forum. I’m new and have little experience with hippo.
Please tell me how to configure Postgres SQL on the new Hippo 15. I configure but I get an error:
[INFO] [talledLocalContainer] java.sql.SQLException: Cannot load JDBC driver class ‘org.postgresql.Driver’

And when I manually throw the driver into the lib, it swears that:

[INFO] [talledLocalContainer] 24.05.2023 13:43:00 ERROR main [RepositoryServlet.init:249] Error while setting up JCR repository:
[INFO] [talledLocalContainer] javax.jcr.RepositoryException: unchecked exception: java.lang.NullPointerException: null
[INFO] [talledLocalContainer] at org.hippoecm.repository.HippoRepositoryFactory.getHippoRepository(HippoRepositoryFactory.java:161) ~[hippo-repository-connector-15.0.0.jar:15.0.0]

One more question. Previously, this db worked on Hippo 12, can I connect the same database to Hippo 15?

Hi,

You may need to enable the common lib configuration for Tomcat.

Documentation link

Edit conf/catalina.properties and add the tomcat-common/lib path to the common classloader: