This can happen if your project dependencies are in the wrong order. During the first build, the main project builds before the library projects, and fails. During the second build, the library project built artefacts are cached, and the main project magically builds.
When you mess up the code so bad you have to press CTRL + Z 20 times to get back to the working version
Submitted By: admin on October 9, 2019
Why not use git commit and then reset?