Reputation: 648
I just downloaded GGTS and Grails. When I was trying to create a Grails project via the button "CREATE GRAILS PROJECT" on the dash board, it shows this error after a while:
Errors occurred during the build.
Errors running builder 'Java Builder' on project 'test'.org.codehaus.groovy.runtime.DefaultGroovyMethods.count(Ljava/lang/Iterable;Lgroovy/lang/Closure;)Ljava/lang/Number;
I am using 64-bit Windows 7, with JDK 1.7.0 build 51 (64-bit), Grails 2.4.0, and GGTS 3.5.1 with Eclipse 4.3.2. Also, the Groovy Compiler version is 2.1.8.
The project can still be built, but with an error alert whenever I tried the run it. And it runs fine (I didn't add anything, it just shows the welcome page fine). I can build a project with grails create-app
in cmd.
Upvotes: 2
Views: 1874
Reputation: 1
After downloading the GGTS zip file, you should unblock the zip file before extracting out. This should solve your problem. Unblocking at the zip file would ensure all executables after the extraction would be unblocked too.
Upvotes: 0
Reputation: 648
It seems like I found the problem. The Groovy compiler comes with GGTS is not compatible with Grails I installed manually. Go to Manage Extensions in dash board, search for Groovy, and then install Groovy 2.3. This will solve the problem.
Upvotes: 9