Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Hudson » Error while building a grails app(I am getting error FATAL: groovy/lang/Binding when trying to build a grails project)
Error while building a grails app [message #1007757] Thu, 07 February 2013 12:23 Go to next message
nem nesic is currently offline nem nesicFriend
Messages: 2
Registered: February 2013
Junior Member
So everything worked fine until u updated hudson to 3.0 version.
Grails is updated too to 2.1.1 version.

Any idea what is causing this?

FATAL: groovy/lang/Binding
java.lang.NoClassDefFoundError: groovy/lang/Binding
	at com.g2one.hudson.grails.GrailsBuilder.evalTarget(GrailsBuilder.java:208)
	at com.g2one.hudson.grails.GrailsBuilder.perform(GrailsBuilder.java:168)
	at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:34)
	at hudson.model.AbstractBuild$AbstractRunner.perform(AbstractBuild.java:646)
	at hudson.model.Build$RunnerImpl.build(Build.java:181)
	at hudson.model.Build$RunnerImpl.doRun(Build.java:136)
	at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:434)
	at hudson.model.Run.run(Run.java:1390)
	at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:40)
	at hudson.model.ResourceController.execute(ResourceController.java:81)
	at hudson.model.Executor.run(Executor.java:137)
Caused by: java.lang.ClassNotFoundException: groovy.lang.Binding
	at org.aspectj.weaver.bcel.ExtensibleURLClassLoader.findClass(ExtensibleURLClassLoader.java:54)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
	... 11 more
Re: Error while building a grails app [message #1007820 is a reply to message #1007757] Thu, 07 February 2013 16:15 Go to previous messageGo to next message
Winston Prakash is currently offline Winston PrakashFriend
Messages: 534
Registered: August 2011
Location: Fremont, CA USA
Senior Member
Groovy is removed from Hudson 3.0.0 due to IP provenance issue. Appears we failed to update the Grails plugin to include Groovy, so that it won't fail. I will fix this and release a new version shortly.

Winston Prakash
Eclipse Hudson team
Re: Error while building a grails app [message #1007825 is a reply to message #1007820] Thu, 07 February 2013 16:25 Go to previous messageGo to next message
nem nesic is currently offline nem nesicFriend
Messages: 2
Registered: February 2013
Junior Member
Would you let us know here or do you have a url i should monitor?
Re: Error while building a grails app [message #1007895 is a reply to message #1007825] Fri, 08 February 2013 01:14 Go to previous messageGo to next message
Winston Prakash is currently offline Winston PrakashFriend
Messages: 534
Registered: August 2011
Location: Fremont, CA USA
Senior Member
Once I release a new version, I will announce the release here, then you can update from Hudson update center

Winston Prakash
Eclipse Hudson team
Re: Error while building a grails app [message #1008105 is a reply to message #1007895] Sat, 09 February 2013 02:02 Go to previous message
Winston Prakash is currently offline Winston PrakashFriend
Messages: 534
Registered: August 2011
Location: Fremont, CA USA
Senior Member
Hi nem,

I released grails version 1.7-h-1 and uploaded it to plugin center. You can updated it from your Hudson's update center. I tested the plugin and it seems to work fine in Hudson 3.0.0. Here is a sample output

[workspace] $ /Users/wjprakash/grails/2.1.1/bin/grails test-app --non-interactive --plain-output

|Loading Grails 2.1.1
|Configuring classpath

.
|Environment set to test

..........
|Installing zip webxml-1.4.1.zip...
...
|Installed plugin webxml-1.4.1
|Resolving plugin JAR dependencies

................
|Compiling 2 source files

..
|Compiling 40 source files

..
|Compiling 21 source files

.....
|Compiling 1 source files

.
|Running 6 unit tests...

|Running 6 unit tests... 1 of 6

|Running 6 unit tests... 2 of 6

|Running 6 unit tests... 3 of 6

|Running 6 unit tests... 4 of 6

|Running 6 unit tests... 5 of 6

|Running 6 unit tests... 6 of 6
|Completed 6 unit tests, 0 failed in 6382ms
............................
|Packaging Grails application

.....................................
|Tests PASSED - view reports in /Users/wjprakash/Hudson/Hudson3-plugins/grails-plugin/work/jobs/grails-test/workspace/target/test-reports
Finished: SUCCESS


Winston Prakash
Eclipse Hudson team
Previous Topic:Error installing using yum on CentOS
Next Topic:Can not make Clone Workspace SCM Plugin version 0.5 work on Hudson
Goto Forum:
  


Current Time: Fri Apr 19 00:18:55 GMT 2024

Powered by FUDForum. Page generated in 0.03118 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top