srb
srb

Reputation: 55

Error creating a new Grails Project - GGTS/STS/Eclipse with GGTS Plugin

Installed Java and Grails, set the GRAILS_HOME, JAVA_HOME and Path variables. Installed GGTS and when tried to create a new Grails project I get the following error.

The command 'C:\Program Files\Java\jdk1.7.0_51\bin\javaw.exe (Mar 24, 2014, 1:59:29 PM)' was terminated because it didn't produce new output for some time.

See details for the output produced so far.

If you think the command simply needed more time, you can increase the time limit in the Grails preferences page.

See menu Windows >> Preferences >> Grails >> Launch
Command: C:\Program Files\Java\jdk1.7.0_51\bin\javaw.exe (Mar 24, 2014, 1:59:29 PM)
---- System.out ----
| Loading Grails 2.2.4
| Configuring classpath
---- System.err ----

Terminating process: Timeout: no new output for 180000 milliseconds
------System.out:-----------
 | Loading Grails 2.2.4
| Configuring classpath
------System.err:-----------

Terminating process: Timeout: no new output for 180000 milliseconds

Tried the same using Eclipse + GGTS plugin and still have the same issue. Creating anew project from command line have no issues. Created a new Grails project from command line and then imported the project into workspace and when tried to create a new controller, the same error thrown. Not sure if anyone else has the same issue.

Is GGTS mature enough? Is there an alternative?

OK, Now I close my IDE and trying from command line. I have set my proxy settings manually as the 'set proxy' command does not update the ProxySettings file. From command line I am able to create a new project, and when I try to compile I get this...

| Error Resolve error obtaining dependencies: Failed to read artifact descriptor
 for org.grails:grails-docs:jar:2.3.7 (Use --stacktrace to see the full trace)
| Error Required Grails build dependencies were not found. 
This is normally due to internet connectivity issues (such as a misconfigured proxy)
 or missing repositories in grails-app/conf/BuildConfig.groovy. Please verify your
 configuration to continue. 
|

Upvotes: 0

Views: 3073

Answers (1)

fleboho
fleboho

Reputation: 36

I once encountered something similar to your problem and by the grace, I connected to the internet and realisation came to mind.

Please see this link am sure it will be of aid.

Upvotes: 1

Related Questions