For those of you who haven't heard about boilerplate code, you can check this link
Now that you already know what's that we found this little library
You can add it to your Maven projects easily, however adding it to your Eclipse is a challenge, especially if you are not using barebones Eclipse like me, who happens to use STS and initially it didn't work:
Why it doesn’t generate getter and setter like in the video? I already installed that thing like 3 times and nothing :(
Well, the solution for me was this:
Paste the JAR manually into MacOS folder
Add the option
to the file STS.ini
Finally you NEED to close the STS/eclipse and start again. (Restart doesn’t take effect)
Once you’ve done close and start STS. You’ll see the getter and setter is autogenerated.
In case you see any compilation errors, just clean and build your project.
Voila!
Now that you already know what's that we found this little library
You can add it to your Maven projects easily, however adding it to your Eclipse is a challenge, especially if you are not using barebones Eclipse like me, who happens to use STS and initially it didn't work:
Why it doesn’t generate getter and setter like in the video? I already installed that thing like 3 times and nothing :(
Well, the solution for me was this:
Paste the JAR manually into MacOS folder
Add the option
to the file STS.ini
Finally you NEED to close the STS/eclipse and start again. (Restart doesn’t take effect)
Once you’ve done close and start STS. You’ll see the getter and setter is autogenerated.
In case you see any compilation errors, just clean and build your project.
Voila!