Gradle exception: finished with non-zero exit value 1

I have started encountering the following message suddenly, what is the reason and solution?

[12:37:58.040] Task 'deploy, start' failed org.gradle.process.internal.ExecException: Process 'command '/Library/Java/JavaVirtualMachines/jdk1.8.0_151.jdk/Contents/Home/bin/java'' finished with non-zero exit value 1

ok, i have resolved it

I also encounter this problem, I guess this is version conflicts. How did u resolve it?

Hi, could you please open a separate topic and describe your problem in details?

hi ,how can i solve the problem ?

Hi! I had same issue. I realized I put a service class outside of the root folder package. I moved this service clase into the root package folder and it worked.