Spring boot execute Error (finished with non-zero exit value 1)
Jul 4, 2021

> Problem
Execution failed for task : 'Application.main()'.
Process 'command '/Library/Java/JavaVirtualMachines/jdk1.8.0_121.jdk/Contents/Home/bin/java'' finished with non-zero exit value 1
> Solution1. Configure project structure

Go to File> Project Structure
- navigate to the Project tab.
- If 1.8 is an option, choose 1.8.
> Solution2. Set Gradle Project
Go to IntelliJ IDEA > Preference
- navigate to the Build, Execution, Development > Build Tools > Gradle
- setBuild and run using tab and Run tests using
- Select IntelliJ IDEAD from the Build and run Using and Run tests Using

> Solution3. Kill process and Retry
To see Java process, do this in your terminal
ps -ef | grep java
kill process using pid
kill -9 pid
and Try again