Could not expand ZIP while installing Play 2.2.6 with gradle

I’m trying to install play 2.2.6 using gradle 1.11. The installation went fine in windows whereas in linux it fails with the following exception.

Could not expand ZIP ‘/workspace/myproject/build/gradle/my-play/playhome/play-2.2.6.zip’.

Could not copy zip entry /workspace/myproject/build/gradle/my-play/playhome/play-2.2.6.zip!play-2.2.6/framework/test/integrationtest/app/controllers/??$7?.java to ‘/workspace/myproject/build/gradle/my-play/playhome/tmp/expandedArchives/play-2.2.6.zip_1idml214q3bv314vi23fl1r2fp/play-2.2.6/framework/test/integrationtest/app/controllers/??$7?.java’.

  • Try:
    Run with --info or --debug option to get more log output.

  • Exception is:
    org.gradle.api.GradleException: Could not expand ZIP ‘/workspace/myproject/build/gradle/my-play/playhome/play-2.2.6.zip’.
    at org.gradle.api.internal.file.archive.ZipFileTree.visit(ZipFileTree.java:98)