DZone Forums
Go Back   DZone Forums > Community > Languages & Frameworks > Groovy & Grails
Reload this Page Grails installation probblem
Notices
Reply
 
LinkBack Thread Tools Display Modes
  (#1 (permalink)) Old
Member
 
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Join Date: Jun 2008
Default Grails installation probblem - 06-17-2008, 08:32 AM

I tried to install Grails and have permanent error:

Starting Grails Environment ...

Type "help" to see available commands.

Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.

[C:\grails-1.0.3]
grails:\>grails
Error starting Grails: org.apache.tools.ant.helper.AntXMLContext.setCurre ntTarge
ts(Ljava/util/MapV
java.lang.NoSuchMethodError: org.apache.tools.ant.helper.AntXMLContext.setCurre n
tTargets(Ljava/util/MapV
at groovy.util.AntBuilder.<init>(AntBuilder.java:80)
at groovy.util.AntBuilder.<init>(AntBuilder.java:67)
at groovy.util.AntBuilder.<init>(AntBuilder.java:63)
at sun.reflect.NativeConstructorAccessorImpl.newInsta nce0(Native Method)

at sun.reflect.NativeConstructorAccessorImpl.newInsta nce(NativeConstruct
orAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newI nstance(DelegatingC
onstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Construc tor.java:494)
at org.codehaus.groovy.runtime.MetaClassHelper.doCons tructorInvoke(MetaC
lassHelper.java:535)
at groovy.lang.MetaClassImpl.doConstructorInvoke(**** ClassImpl.java:2356
)
at groovy.lang.MetaClassImpl.invokeConstructor(MetaCl assImpl.java:1255)
at groovy.lang.MetaClassImpl.invokeConstructor(MetaCl assImpl.java:1185)
at org.codehaus.groovy.runtime.InvokerHelper.invokeCo nstructorOf(Invoker
Helper.java:809)
at org.codehaus.groovy.runtime.ScriptBytecodeAdapter. invokeNewN(ScriptBy
tecodeAdapter.java:230)
at org.codehaus.groovy.runtime.ScriptBytecodeAdapter. invokeNew0(ScriptBy
tecodeAdapter.java:237)
at org.codehaus.groovy.grails.cli.GrailsScriptRunner. <clinit>(GrailsScri
ptRunner.groovy:36)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Nativ e Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Native MethodAccessorImpl.
java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(De legatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.codehaus.groovy.grails.cli.support.GrailsStart er.rootLoader(Grail
sStarter.java:140)
at org.codehaus.groovy.grails.cli.support.GrailsStart er.main(GrailsStart
er.java:165)
[C:\grails-1.0.3]
grails:\>

I don't want to debug Grails but, at least, I'm sure (doublechecked!) that method org.apache.tools.ant.helper.AntXMLContext.setCurre ntTarge
ts(Ljava/util/MapV does exist in ant.jar (in both!).

Alex.
Reply With Quote
  (#2 (permalink)) Old
Member
 
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Join Date: May 2009
Default 05-11-2009, 06:26 PM

Hey Alex,
try the newest release 1.1, if it really
don't work try it with some unix based system (e.g. mac os x or ubuntu)
because I allready examined windows kick my nerves,!

greetings!
Reply With Quote
  (#3 (permalink)) Old
Member
 
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Join Date: Jul 2009
Default Grails programming - 08-14-2009, 03:00 PM

Check out some step by step tutorials on grails here. Grails Tutorial
If you follow the steps , you should not have any issue
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Too many forums (http://grails-forum.org) mische Groovy & Grails 1 02-03-2008 10:56 AM


Copyright 1997-2009, DZone, Inc.
vBulletin Skin developed by: vBStyles.com