Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Blocker
-
Resolution: Cannot Reproduce
-
Affects Version/s: 1.2-M4
-
Fix Version/s: 1.2-RC1
-
Component/s: None
-
Labels:None
-
Environment:Mac OSX 10.6.1, JDK 1.6 or 1.5
Description
With 1.2M4 if I download the distro, set my GRAILS_HOME and put $GRAILS_HOME/bin in my path and run
grails create-app Temp
I get the error below. If I switch back to 1.2M2 no error
mb:development mike$ grails create-app Temp Welcome to Grails 1.2-M4 - http://grails.org/ Licensed under Apache Standard License 2.0 Grails home is set to: /Users/mike/development/tools/grails/grails-1.2-M4 Base Directory: /Users/mike/development Resolving dependencies... Dependencies resolved in 1316ms. Running script /Users/mike/development/tools/grails/grails-1.2-M4/scripts/CreateApp_.groovy Environment set to development [copy] Copying 1 resource to /Users/mike/development/Temp [unjar] Expanding: /Users/mike/development/Temp/grails-shared-files.jar into /Users/mike/development/Temp [delete] Deleting: /Users/mike/development/Temp/grails-shared-files.jar [copy] Copying 1 resource to /Users/mike/development/Temp [unjar] Expanding: /Users/mike/development/Temp/grails-app-files.jar into /Users/mike/development/Temp [delete] Deleting: /Users/mike/development/Temp/grails-app-files.jar [move] Moving 1 file to /Users/mike/development/Temp [move] Moving 1 file to /Users/mike/development/Temp [move] Moving 1 file to /Users/mike/development/Temp [move] Moving 1 file to /Users/mike/development/Temp [move] Moving 1 file to /Users/mike/development/Temp [move] Moving 1 file to /Users/mike/development/Temp Error executing script CreateApp: loader constraint violation: loader (instance of <bootloader>) previously initiated loading for a different type with name "org/xml/sax/SAXParseException" java.lang.LinkageError: loader constraint violation: loader (instance of <bootloader>) previously initiated loading for a different type with name "org/xml/sax/SAXParseException" at java.lang.Class.getDeclaredMethods0(Native Method) at java.lang.Class.privateGetDeclaredMethods(Class.java:2427) at java.lang.Class.getDeclaredMethods(Class.java:1791) at java.security.AccessController.doPrivileged(Native Method) at org.codehaus.groovy.util.LazyReference.getLocked(LazyReference.java:33) at org.codehaus.groovy.util.LazyReference.get(LazyReference.java:20) at _PluginDependencies_groovy.readMetadataFromZip(_PluginDependencies_groovy:887) at _PluginDependencies_groovy.this$4$readMetadataFromZip(_PluginDependencies_groovy) at _PluginDependencies_groovy$_run_closure24.doCall(_PluginDependencies_groovy:876) at _PluginDependencies_groovy$_run_closure31_closure88.doCall(_PluginDependencies_groovy:1176) at _PluginDependencies_groovy$_run_closure31_closure88.doCall(_PluginDependencies_groovy) at _PluginDependencies_groovy.withPluginInstall(_PluginDependencies_groovy:1221) at _PluginDependencies_groovy.this$4$withPluginInstall(_PluginDependencies_groovy) at _PluginDependencies_groovy$_run_closure31.doCall(_PluginDependencies_groovy:1175) at _PluginDependencies_groovy$_run_closure31.call(_PluginDependencies_groovy) at _GrailsPlugins_groovy$_run_closure3.doCall(_GrailsPlugins_groovy:96) at _GrailsCreateProject_groovy$_run_closure1.doCall(_GrailsCreateProject_groovy:46) 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) at gant.Gant.withBuildListeners(Gant.groovy:344) at gant.Gant.this$2$withBuildListeners(Gant.groovy) at gant.Gant$this$2$withBuildListeners.callCurrent(Unknown Source) at gant.Gant.dispatch(Gant.groovy:334) at gant.Gant.this$2$dispatch(Gant.groovy) at gant.Gant.invokeMethod(Gant.groovy) at gant.Gant.processTargets(Gant.groovy:495) at gant.Gant.processTargets(Gant.groovy:480) Error executing script CreateApp: loader constraint violation: loader (instance of <bootloader>) previously initiated loading for a different type with name "org/xml/sax/SAXParseException"
Hmm works fine for me, but I'm on Leopard. You're on Snow Leopard right?