Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

Java Spring Basics Creating Controllers and Views Create a Controller to Handle HTTP Requests

David Dill
David Dill
3,956 Points

I have to kill java.exe when restarting

Every time I restart bootRun, I have to kill all java.exe tasks. If I don't the server will not start back up. The server appears to have completely stopped before my attempt at starting it back again.

1 Answer

David Dill
David Dill
3,956 Points

I figured out a way to fix this. Apparently this is more of a problem with gradle and Spring Boot than anything else. If I start the application by running the class with the main() method, I can easily start and stop it without ever having to manually kill the Java.exe task running.