Dec 21st, 2009, 10:09 PM
Wedding project & postgres
I tried following along with the wedding project using Roo RC4 and decided to switch the database to postgres (using 8.4 right now). When I get to the perform tests step things fail:
Cannot load JDBC driver class 'org.postgresql.Driver'
I would have expected that choosing postgres for the database would automatically inject the right maven dependency? Bug or feature?
Dec 21st, 2009, 10:22 PM
dependency add --artifactId postgresql --groupId postgresql --version 8.4-701.jdbc4
fixes the problem, but again, I would have expected this to work ootb.
Dec 22nd, 2009, 05:07 AM
Indeed, this seems to be a bug. Can you please open a new Jira ticket for this (http://jira.springframework.org/browse/ROO)?
Dec 22nd, 2009, 05:45 PM
For the benefit of the archives, this was logged as https://jira.springsource.org/browse/ROO-475 and has already been fixed. The fix will be in Roo 1.0.0.RELEASE (GA).