$ grails -version
Grails version: 2.0.1
$ java -version
java version "1.6.0_29"
Java(TM) SE Runtime Environment (build 1.6.0_29-b11)
Oracle JRockit(R) (build R28.1.5-20-146757-1.6.0_29-20111004-1750-
linux-x86_64, compiled mode)
$ export GRAILS_OPTS="-Xmx2G -Xms2G"
$ cd ncs-grails-ncs-mdes-61aaf3a/
$ grails run-app
| Running Grails application
| Error 2012-03-24 23:26:22,258 [pool-5-thread-1] ERROR
hbm2ddl.SchemaExport - Unsuccessful: alter table pre_preg add
constraint FKB2D2D640F6FF846B foreign key (thyroid_1) references
confirm_type_cl8
| Error 2012-03-24 23:26:22,395 [pool-5-thread-1] ERROR
hbm2ddl.SchemaExport - Constraint "FKB2D2D640F6FF846B" already
exists; SQL statement:
alter table pre_preg add constraint FKB2D2D640F6FF846B foreign key
(thyroid_1) references confirm_type_cl8 [90045-147]
| Error 2012-03-24 23:26:24,309 [pool-5-thread-1] ERROR
hbm2ddl.SchemaExport - Unsuccessful: alter table twelve_mth_saq_2 add
constraint FK18E5A922332B073 foreign key (behave_28) references
true_level_cl1
| Error 2012-03-24 23:26:24,310 [pool-5-thread-1] ERROR
hbm2ddl.SchemaExport - Constraint "FK18E5A922332B073" already exists;
SQL statement:
alter table twelve_mth_saq_2 add constraint FK18E5A922332B073 foreign
key (behave_28) references true_level_cl1 [90045-147]
| Error 2012-03-24 23:26:24,613 [pool-5-thread-1] ERROR
hbm2ddl.SchemaExport - Unsuccessful: alter table validation_ins add
constraint FKEF592B285432C3D foreign key (intro_2) references
confirm_type_cl24
| Error 2012-03-24 23:26:24,613 [pool-5-thread-1] ERROR
hbm2ddl.SchemaExport - Constraint "FKEF592B285432C3D" already exists;
SQL statement:
alter table validation_ins add constraint FKEF592B285432C3D foreign
key (intro_2) references confirm_type_cl24 [90045-147]
| Error 2012-03-24 23:26:56,349 [pool-5-thread-1] ERROR
context.GrailsContextLoader - Error executing bootstraps: null
Message: null
Line | Method
->> 303 | innerRun in java.util.concurrent.FutureTask$Sync
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
| 138 | run in java.util.concurrent.FutureTask
| 886 | runTask in java.util.concurrent.ThreadPoolExecutor$Worker
| 908 | run in ''
^ 662 | run . . in java.lang.Thread
Caused by ClassFormatError: BootStrap$_closure1 : invalid Code length
at 342201
->> 631 | defineClassCond in java.lang.ClassLoader
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
| 615 | defineClass in ''
| 141 | defineClass in java.security.SecureClassLoader
| 283 | defineClass in java.net.URLClassLoader
| 58 | access$000 in ''
| 197 | run in java.net.URLClassLoader$1
| 190 | findClass in java.net.URLClassLoader
| 306 | loadClass in java.lang.ClassLoader
| 247 | loadClass in ''
| 303 | innerRun in java.util.concurrent.FutureTask$Sync
| 138 | run . . in java.util.concurrent.FutureTask
| 886 | runTask in java.util.concurrent.ThreadPoolExecutor$Worker
| 908 | run . . in ''
^ 662 | run in java.lang.Thread