You get Intellij Idea Community Edition for free and its open source. It has everything you need.
If you want Spring support, or you want to use other JetBrains IDEs for other languages, you have to pay.
Personally, I'm happy to fork my money to them. They make the best IDEs out there.