MyEclipse installation Lombok

Source: Internet
Author: User
Objective

When we import a project, if the project uses Lombok this gadget, then you will find a very strange phenomenon. The jar package is imported, and annotations such as data can be used, but the call getter and setter methods still make an error. The reason is that MyEclipse has the ability to check, and when you call a non-existent setter or getter method, it will prompt the error without this method. We know that with the Lombok framework, the Getter,setter method is used to make the data annotations. But MyEclipse don't know! How to do, let it know you this annotation on it, how to know it? Install the Lombok in the MyEclipse.

The installation steps are as follows: (Eclipse is the same)

One: Download the jar package

Official website: https://projectlombok.org/download

Two: Put the downloaded jar package into the MyEclipse installation directory, as

Three: Increase the start command

Open the Myeclipse.ini file (open it with Notepad) and append-javaagent:lombok.jar, as

Four: Restart MyEclipse

MyEclipse installation Lombok

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.