Error using Gradle distribution

Asked

Viewed 16 times

-1

I’m starting out in the groovy world with Grails. Running the command 'dbm-update' (to update with bd on my machine and the Migration etc) causes this build error.

I know almost nothing of java. ( just prepare the environment, and look there).

Important note: I ran a project from scratch, it runs smoothly.(no integration with bd) This one, which I cloned from gitlab to work on... I thank you for your help at once!

ommand execution error: org.codehaus.groovy.control.MultipleCompilationErrorsException: startup failed:
Script1.groovy: 194: unexpected token: << @ line 194, column 1.
   <<<<<<< HEAD
   ^

1 error


> Task :dbmUpdate FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':dbmUpdate'.
> Process 'command 'C:\Program Files\AdoptOpenJDK\jdk-8.0.292.10-hotspot\bin\java.exe'' finished with non-zero exit value 1

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug  option to get more log output. Run with --scan to get full insights.

* Get more help at https://help.gradle.org

BUILD FAILED in 46m 27s
6 actionable tasks: 6 executed
| Error Command [dbm-update] error: Could not execute build using Gradle distribution   
 'https://services.gradle.org/distributions/gradle-4.10.3-all.zip'. (Use --stacktrace to see the full trace)
  • Welcome! Whenever you post write code (copy and paste with markdown marking - in the edition appears how to do). Post Spring1.groovy content, the bug seems to be on it.

  • Hi Leandro. OK, thank you . Sorry . :)

1 answer

0

By error seems to me more a problem with a git merge.
Do git status for more information and then take a look at the file Script1.groovy to see if there are no balises that indicate a merge in progress, such as <<<<<<< HEAD for example.

  • Thanks friend. truth, I have solved it already. This part of the error...has been solved. The others, persist.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.