-
Dec 21st, 2009, 10:09 PM
#1
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:
Running com.wedding.domain.RsvpIntegrationTest
Cannot load JDBC driver class 'org.postgresql.Driver'
java.lang.ClassNotFoundException: 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
#2
This:
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
#3
Indeed, this seems to be a bug. Can you please open a new Jira ticket for this (http://jira.springframework.org/browse/ROO)?
Cheers,
Stefan
-
Dec 22nd, 2009, 05:45 PM
#4
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).
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules