Fresh install of gradle - Could not generate a proxy class for class org.gradle.invocation.DefaultGradle


(AlexC) #1

Could not generate a proxy class for class org.gradle.invocation.DefaultGradle

------------------------------------------------------------ Gradle 1.5 ------------------------------------------------------------

Gradle build time: Wednesday, 27 March 2013 1:51:06 PM UTC Groovy: 1.8.6 Ant: Apache Ant™ version 1.8.4 compiled on May 22 2012 Ivy: 2.2.0 JVM: 1.6.0_30 (Sun Microsystems Inc. 0.2-b02-internal, 19.0-b04-internal) OS: Windows 7 6.1 x86

I just installed Gradle 1.5 and can’t make it run, I just started the tutorial.

my build.gradle looks like this: ------------------------------ task hello {

doLast {

println “Hello world!”

} } ------------------------------ And my dir containing the build.gradle is completely empty just the buil script file


(Peter Niederwieser) #2

Please provide the full stack trace, ideally as a GitHub Git. For code snippets, please use HMTL code tags.


(AlexC) #3

https://gist.github.com/anonymous/5393421


(Luke Daley) #4

Looks like your Java install is corrupted somehow. You’ve somehow got an older version of the ASM library on the classpath that is throwing Gradle out.

Can you try with a fresh JDK install?