This week's book giveaways are in the Refactoring and Agile forums. We're giving away four copies each of Re-engineering Legacy Software and Docker in Action and have the authors on-line! See this thread and this one for details.
Sorry, I cannot help you with IntelliJ. Are you willing to compile and deploy the app by hand? If so then I will be happy to help you. But if what you want to do is figure out why IntelliJ is not doing things correctly (why it is obviously placing an older copy of the method into the app), then I will move this question to the IDE forum.