Could not generate a proxy class for class org.gradlefx.tasks.CopyResources.

Jhon's Avatar

Jhon

17 Jul, 2012 06:06 PM

Hi

I am constantly getting the following error message when I try to clean, compile or run Asdoc. any idea what might be wrong

thanks.

FAILURE: Build failed with an exception.

  • Where: Build file '/Users/jhon/MyProject/build.gradle' line: 16

  • What went wrong: A problem occurred evaluating root project 'MyProject'.
    Cause: Could not generate a proxy class for class org.gradlefx.tasks.CopyResources.

  1. Support Staff 1 Posted by Yennick Trevels on 17 Jul, 2012 06:53 PM

    Yennick Trevels's Avatar

    Hi Jhon,

    I can't reproduce the problem with Gradle 1.0-rc3 and 1.0
    Your build file also looks correct.
    Can you give me some more information on which Gradle version and OS you are using? The error looks like an incompatibility between the version of GradleFx and Gradle you're using.

  2. 2 Posted by Jhon on 17 Jul, 2012 08:21 PM

    Jhon's Avatar

    Thanks for you promptly response, here is the information that you requested

    gradle -version


    Gradle 1.0-milestone-7

    Gradle build time: Thursday, January 5, 2012 10:24:43 AM UTC
    Groovy: 1.8.4
    Ant: Apache Ant(TM) version 1.8.2 compiled on December 20 2010
    Ivy: 2.2.0
    JVM: 1.6.0_29 (Apple Inc. 20.4-b02-402)
    OS: Mac OS X 10.6.8 x86_64

  3. 3 Posted by Jhon on 17 Jul, 2012 09:25 PM

    Jhon's Avatar

    I just upgraded my Gradle installations and the problem was solved.

    Thanks

  4. Support Staff 4 Posted by Yennick Trevels on 18 Jul, 2012 07:11 AM

    Yennick Trevels's Avatar

    Glad I could help :)
    Gradle has been changing it's API quite a lot when they were going for a 1.0 release, but I hope this will be better now with their 1.0 release.

  5. Yennick Trevels closed this discussion on 18 Jul, 2012 07:11 AM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac