Unable to create Grails project in IDEA 7.0 build#7361

First of all sorry because duplicate post :-p I posted this on general forum first since I did not know that JetGroovy has its own forum. This is my original post:

/**************************************************************************************************/
Hi all,
I tried creating a grails application in IDEA v. 7.0 but it fails each time telling that "Failed to create grails application withing this project" in an external error message box but shows no exception at grails console within IDEA.
I've configured grails and groovy homes accordingly and they work well. My grails version is 0.4.2 and groovy version is 1.0.
I am following the steps in: http://docs.codehaus.org/display/GRAILS/IDEA+Integration

Also should note that I installed JetGroovy plugin manually and put it in plugins folder of IDEA. It seems that it work but whenever I visit the Settings | Plugins perspective there is a yellog flag beside it. Since I am new to IDEA plugins I am not sure what does it mean.

I will be very grateful if you could point me the potential fix of this problem.
/**************************************************************************************************/

UPDATE: I installed grails version 1.0-RC1 and got the same problem so it seems the problem is not about grails version.

0
7 comments
Avatar
Permanently deleted user

Hello Ashkan,

We do not support grails 0.4, would it be a problem for you to upgrade grails version?

Eugene.

0
Avatar
Permanently deleted user

Hi Eugene,
I installed grails-1.0RC1 and got the same error. Which version of grails is officially supported by IDEA?

0
Avatar
Permanently deleted user

Hello Ashlan,
That's weird, since we do test it with grails 1.0. I'll take a look at it tomorrow.

Eugene.

0
Avatar
Permanently deleted user

I had the same issue, after setting JAVA_HOME in the windows Environment it was gone.

Maybe it helps

Greetings Andreas

0
Avatar
Permanently deleted user

Hello Andreas,
My JAVA_HOME is set. Again the same problem. Is there anybody from JetBrains Grails team here? Which version of Grails is officially supported by IDEA 7? :(

0
Avatar
Permanently deleted user

Thank you, a google search landed me here, and setting the JAVA_HOME worked great for me

intelij 7.0.3
grails 1.0.2
jet groovy 1.6.16247 (2008-05-10 15:41:44 build)

0
Avatar
Permanently deleted user

I upgraded the JDK from 1.6.0-b105 (really old, I guess) to 1.6.0_10-b33 and set JAVA_HOME. Then it worked!

0

Please sign in to leave a comment.