Important Issues
Section outline
-
-
In the last week the PCs in ICT-637 has been re-installed (new image). Now, please use
Eclipse Oxygen Java EE
(Start Menu -> E -> Eclipse Platform -> Eclipse Oxygen Java EE
instead of
Eclipse Neon (which is not installed anymore)
-
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
-