IBM iにGrails1.1.1を入れる
IBM i(AS/400)に、最新のGrails1.1.1を入れてみた。
インストールは、
するだけです。
とりあえず「create-app」と「create-domain-class」はOK。でも「generate-all」で下のエラーが出ちまいました。PluginMnager、GroovyPagesGrailsPluginあたりがうまくいってない?1.0系は問題なく動いたんですが...orz。
org.codehaus.groovy.grails.exceptions.NewInstanceCreationException: Could not create a new instance of class [org.codehaus.groovy.grails.plugins.web.Groov yPagesGrailsPlugin]! at java.lang.Exception.<init>(Exception.java:59) at java.lang.RuntimeException.<init>(RuntimeException.java:61) at _PluginDependencies_groovy$_run_closure6_closure53.doCall(_PluginD ependencies_groovy:449) at _PluginDependencies_groovy$_run_closure6_closure53.doCall(_PluginD ependencies_groovy:0) at _GrailsSettings_groovy$_run_closure10.doCall(_GrailsSettings_groov y:274) at _GrailsSettings_groovy$_run_closure10.call(_GrailsSettings_groovy: 0) at _PluginDependencies_groovy$_run_closure6.doCall(_PluginDependencie s_groovy:447) at _GrailsPackage_groovy$_run_closure2.doCall(_GrailsPackage_groovy:1 28) at GenerateAll$_run_closure1.doCall(GenerateAll.groovy:32) at gant.Gant$_dispatch_closure4.doCall(Gant.groovy:324) at gant.Gant$_dispatch_closure6.doCall(Gant.groovy:334) at gant.Gant$_dispatch_closure6.doCall(Gant.groovy:0) at gant.Gant.withBuildListeners(Gant.groovy:344) at gant.Gant.this$2$withBuildListeners(Gant.groovy:0) at gant.Gant$this$2$withBuildListeners.callCurrent(Unknown Source) at gant.Gant.dispatch(Gant.groovy:334) at gant.Gant.this$2$dispatch(Gant.groovy:0) at gant.Gant.invokeMethod(Gant.groovy:0) at gant.Gant.processTargets(Gant.groovy:495) at gant.Gant.processTargets(Gant.groovy:480) Caused by: java.lang.ExceptionInInitializerError at java.lang.Throwable.<init>(Throwable.java:181) at java.lang.Error.<init>(Error.java:37) at java.lang.ExceptionInInitializerError.<init>(ExceptionInInitialize rError.java:61) at java.lang.Class.forName(Class.java:189) ... 18 more Caused by: java.lang.ClassCastException at java.lang.Throwable.<init>(Throwable.java:181) at java.lang.Exception.<init>(Exception.java:29) at java.lang.RuntimeException.<init>(RuntimeException.java:32) at java.lang.ClassCastException.<init>(ClassCastException.java:29) at java.lang.String.compareTo2(String.java:1757) at java.util.Arrays.mergeSort(Arrays.java:1284) at java.util.Arrays.mergeSort(Arrays.java:1295) at java.util.Arrays.mergeSort(Arrays.java:1295) at java.util.Arrays.mergeSort(Arrays.java:1295) at java.util.Arrays.mergeSort(Arrays.java:1295) at java.util.Arrays.mergeSort(Arrays.java:1295) at java.util.Arrays.mergeSort(Arrays.java:1295) at java.util.Arrays.sort(Arrays.java:1223) at java.util.Collections.sort(Collections.java:159) ... 19 more Error loading plugin manager: Could not create a new instance of class [org.c odehaus.groovy.grails.plugins.web.GroovyPagesGrailsPlugin]! $
少し調べてみましたが、自分の力では、解りませんでした。もう少し時間有ったらまた挑戦してみます。