I know that there are similar questions already, but the answers there didn\'t help me. So please would you mind to take a look at my particular question?
I am not v
If you are using maven or gradle.
You can add this to ur pom.xml for maven
<!-- https://mvnrepository.com/artifact/org.postgresql/postgresql -->
<dependency>
<groupId>org.postgresql</groupId>
<artifactId>postgresql</artifactId>
<version>42.2.4</version>
</dependency>
And this for gradle
// https://mvnrepository.com/artifact/org.postgresql/postgresql
compile group: 'org.postgresql', name: 'postgresql', version: '42.2.4'
You were close!
You need to place your postgresql-<version>.jar
directly in the lib
folder of your servlet container.
For instance, if you're working with Apache Tomcat, simply drop your jar under <TOMCAT_ROOT>/lib
and you should be all set.