hamvocke/spring-testing

Gets stuck at > Building 80% > :bootRun

eyatzeck opened this issue ยท 3 comments

I think this is a known issue with Gradle, but a successful build for me always ends up at 80%. It might be reassuring if it got all the way done!

I agree that it's confusing but it's perfectly normal. gradle bootRun compiles your sources and starts the application. The server then keeps running until you finish it. Closing down the server is what makes the Gradle task actually finish. Until then it's just waiting in an infinite loop (the one for the server) until it's being terminated. Being stuck at a certain percentage is exactly how it's meant to be - even though it looks like something's wrong. That also means, there's nothing I could do about this (at least not without using a different build system). Good thing though, that you reported this, as this might serve as a good documentation for others.

@hamvocke Please can you elaborate a bit why exactly stuck in 75% and not 100% ?

This answer on Stack Overflow could shed some light on this.