Results 1 to 4 of 4

Thread: Wedding project & postgres

  1. #1
    Join Date
    Dec 2009
    Posts
    2

    Default 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?

  2. #2
    Join Date
    Dec 2009
    Posts
    2

    Default

    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.

  3. #3
    Join Date
    Mar 2008
    Location
    Sydney, AU
    Posts
    974

    Default

    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

  4. #4
    Join Date
    Aug 2004
    Location
    Sydney, Australia
    Posts
    2,768

    Default

    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).
    Ben Alex
    Project Founder, Spring UAA, Spring Roo and Spring Security

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •