Welcome to the Treehouse Community
Looking to learn something new?
Ricardo Sala13,390 Points
SPRING NOT CLOSING PROPERLY
I am getting this error again and again when trying to compile... please help me!
FAILURE: Build failed with an exception. What went wrong: Execution failed for task ':bootRun'. > Process 'command 'C:\Program Files\Java\jdk1.8.0_131\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.
- The process using the port 80 is "java", so java is listening correctly...
- Still another clue: if I close and open intelliJ, it works, but after stop the app is says:
The daemon will cancel the build.
Could not execute build using Gradle distribution 'https://services.gradle.org/distributions/gradle-3.5-rc-2-all.zip'.
12:57:48: External task execution finished 'bootRun'
- And the next time it cant compile and the port remains open
Seems like Gradle is not closing properly my app, and it only works one time, then the port remains open forever even if I click stop (well, until I close intelliJ!).
Here is my project in Github:
Please help! :)