Build failed with an exception

Hi, i am trying to follow one of your tutorials and am stuck when I try to deploy the project. Previously I successfully created an HSQLDB database.

Also ,how do I enable --stacktrace option prior to a build? Thanks!


  • What went wrong: Execution failed for task ‘:app-core:deploy’. > No signature of method: java.util.ArrayList.collectAll() is applicable for argument types: (CubaDeployment$_DependencyResolver_resolveDependencies_closure3) values: [CubaDeployment$_DependencyResolver_resolveDependencies_closure3@591f4946]
    Possible solutions: collect(), collect(), collect(groovy.lang.Closure), collect(groovy.lang.Closure), collectMany(groovy.lang.Closure), collect(java.util.Collection, groovy.lang.Closure)

Hi Billie

this is a known issue related to using Gradle of versions 2.8 and 2.9. We have already fixed it and the next minor CUBA release will be working properly.
Meanwhile I can suggest switching to a previous version of Gradle, for example Gradle 2.6

Sounds great and thanks for the quick reply. I’ll downgrade now.

Cheers!