Skip to content

No tables created #23

@gentunian

Description

@gentunian

I've cloned the repo and I get an error:

[host] ~ JAVA_HOME=/etc/alternatives/java_sdk ./grailsw run-app 
| Running Grails application
| Error 2014-09-01 17:26:46,182 [localhost-startStop-1] ERROR hbm2ddl.SchemaExport  - HHH000389: Unsuccessful: alter table pet drop constraint FK_98le5nat0hd479mg10eua8xn0 if exists
| Error 2014-09-01 17:26:46,184 [localhost-startStop-1] ERROR hbm2ddl.SchemaExport  - Table "PET" not found; SQL statement:
    alter table pet 
        drop constraint FK_98le5nat0hd479mg10eua8xn0 if exists [42102-176]
| Error 2014-09-01 17:26:46,185 [localhost-startStop-1] ERROR hbm2ddl.SchemaExport  - HHH000389: Unsuccessful: alter table pet drop constraint FK_f265r1o5eddpmock5mflwfywl if exists
| Error 2014-09-01 17:26:46,185 [localhost-startStop-1] ERROR hbm2ddl.SchemaExport  - Table "PET" not found; SQL statement:
    alter table pet 
        drop constraint FK_f265r1o5eddpmock5mflwfywl if exists [42102-176]
| Error 2014-09-01 17:26:46,185 [localhost-startStop-1] ERROR hbm2ddl.SchemaExport  - HHH000389: Unsuccessful: alter table vet_speciality drop constraint FK_obpuagylkoe92jbh89228tfam if exists
| Error 2014-09-01 17:26:46,186 [localhost-startStop-1] ERROR hbm2ddl.SchemaExport  - Table "VET_SPECIALITY" not found; SQL statement:
    alter table vet_speciality 
        drop constraint FK_obpuagylkoe92jbh89228tfam if exists [42102-176]
| Error 2014-09-01 17:26:46,186 [localhost-startStop-1] ERROR hbm2ddl.SchemaExport  - HHH000389: Unsuccessful: alter table vet_speciality drop constraint FK_2y6r6dv8pf8b3fxvwek33exqy if exists
| Error 2014-09-01 17:26:46,186 [localhost-startStop-1] ERROR hbm2ddl.SchemaExport  - Table "VET_SPECIALITY" not found; SQL statement:
    alter table vet_speciality 
        drop constraint FK_2y6r6dv8pf8b3fxvwek33exqy if exists [42102-176]
| Error 2014-09-01 17:26:46,187 [localhost-startStop-1] ERROR hbm2ddl.SchemaExport  - HHH000389: Unsuccessful: alter table visit drop constraint FK_ifoofk96i1wm1ck2eu2518ehq if exists
| Error 2014-09-01 17:26:46,187 [localhost-startStop-1] ERROR hbm2ddl.SchemaExport  - Table "VISIT" not found; SQL statement:
    alter table visit 
        drop constraint FK_ifoofk96i1wm1ck2eu2518ehq if exists [42102-176]
| Parent process shutdown. Exiting...
| Error Forked Grails VM exited with error
| Server running. Browse to http://localhost:8080/petclinic
[host] ~   netstat -lptun | grep 8080
[host] ~

No server running. Did I miss something from README.md? DB scripts or something?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions