grails run-app context.GrailsContextLoader Error executing bootstraps: Database driver

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

grails run-app context.GrailsContextLoader Error executing bootstraps: Database driver

geezenslaw
Howdy all, I have just downloaded a .zip from github.

After extracting the .zip and at the commandline: grails run-app is
returning the following error condition included below.

My question is out of all of the advice and choices displayed which
solution presented is actually the best route.

Thanks in advance and pls advise.

Regards.

**************************************************************************************
grails run-app
| Running Grails application
context.GrailsContextLoader Error executing bootstraps: Database driver
[org.hsqldb.jdbcDriver] for HSQLDB not found. Since Grails 2.0 H2 is now
the default database. You need to either add the 'org.h2.Driver' class
as your database driver and change the connect URL format (for example
'jdbc:h2:mem:devDb') in DataSource.groovy or add HSQLDB as a dependency
of your application.
org.codehaus.groovy.grails.exceptions.GrailsConfigurationException:
Database driver [org.hsqldb.jdbcDriver] for HSQLDB not found. Since
Grails 2.0 H2 is now the default database. You need to either add the
'org.h2.Driver' class as your database driver and change the connect URL
format (for example 'jdbc:h2:mem:devDb') in DataSource.groovy or add
HSQLDB as a dependency of your application.
        at
grails.spring.BeanBuilder.invokeBeanDefiningClosure(BeanBuilder.java:736)
        at grails.spring.BeanBuilder.beans(BeanBuilder.java:569)
        at grails.spring.BeanBuilder.invokeMethod(BeanBuilder.java:511)
        at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
        at java.util.concurrent.FutureTask.run(FutureTask.java:138)
        at java.util.concurrent.ThreadPoolExecutor
$Worker.runTask(ThreadPoolExecutor.java:886)
        at java.util.concurrent.ThreadPoolExecutor
$Worker.run(ThreadPoolExecutor.java:908)
        at java.lang.Thread.run(Thread.java:662)

**************************************************************************************


---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email