In classEgovTutorials.txt we have described how to place the Postgres driver into the build path.

It turned out that with the current Eclipse version this is not sufficient to run Java Server Pages that invoke JDBC directly. If you want to invoke JDBC from a Java Server Page, you need to copy the driver also to the following directory of your current project in Eclipse:

'YourProject' -> WebContent -> WEB-INF -> lib

(thanks to your fellow course participant for figuring this out!)

++++

Compare also with:

https://stackoverflow.com/questions/24649440/jsp-mysql-class-forname-error

++++

Recall where to find the Postgres driver, i.e.:

https://jdbc.postgresql.org/download.html

Download PostgreSQL JDBC 4.0 Driver, 42.1.4.jre6, actually:

https://jdbc.postgresql.org/download/postgresql-42.1.4.jre6.jar



Last modified: Monday, 30 October 2017, 3:32 PM