Eclipse Install Lombok Plugin Problem Resolution

Source: Internet
Author: User

On the Java platform, Lombok provides a simple form of annotations to help us eliminate some of the necessary but seemingly bloated code, such as the get/set of attributes, and the ToString of objects, especially in relation to POJO. Simply put, it simplifies Java code and eliminates Java's lengthy code. Lombok jar of: https://projectlombok.org/

After downloading the Lombok jar, select Open jar directly and discover that your IDE is not recognized. So you need to manually select your own IDE:

Choose your own path to eclipse: Select finished click Install/update

Reopen eclipse's path and find a Lambok.jar

Restart eclipse at this point, using annotations

@Setter
@Getter

Eclipse is still not in use. Reason: Eclipse.ini file is missing a sentence:-xbootclasspath/a:lombok.jars

At the end of the Eclipse.ini file, add:-xbootclasspath/a:lombok.jars

Restart Eclipse to

Eclipse Install Lombok Plugin Problem Resolution

Related Article

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.