Using Project Lombok in Spring Boot

I have been a huge fan of Groovy for awhile now. A feature you get out of the box with Groovy is a lot less noise in data classes because it will generate getters and setters for your properties. It might seem like something trivial but it is unwanted noise. I came across Project Lombok which is a great way to create getters and setters for your Java data classes. I created a screencast which you can watch below on how to use Lombok in a Spring Boot application. The nice thing about this is that it is an option in the Spring Initializr. If you are just using a simple Java project you can use it as well by dropping the jar into your project or by including the dependency in your build tool.


Hi, I’m Dan Vega. I am a Software Engineer living just outside of one of my favorite places in the world, Cleveland Ohio. I am a self-taught programmer who firmly believes that you can accomplish anything in this life if you put your mind to it, roll up your sleeves and are willing to put in the work.

I have been writing software for over 16+ years now and I use my knowledge, passion, and influence to help other developers achieve their goals. I teach online and currently, have over 16,000 students.

When I am not writing software I have a number of things that really keep me busy. I love to read books, listen to podcasts and watch online courses. I have a real thirst for knowledge and it consumes me every single day of the week. I also love to run & lift heavy weights which keep me balanced throughout the week.

Please note: I reserve the right to delete comments that are offensive or off-topic.