Lombok plug-in installation in eclipse

Source: Internet
Author: User

Lombok plug-in installation in eclipse

On the java platform, lombok provides simple annotations to help us eliminate code that must be included but looks bloated, such as get/set of attributes, and object toString, especially relative to POJO. To put it simply, Java code is simplified and Java lengthy code is eliminated.Lombok jar: Https://projectlombok.org/

Download completeLombok jar, directly open the jar and find that your ide cannot be recognized. Therefore, you need to manually select your ide:

Select your eclipse path: Click install/update

Re-open the eclipse path and find an additional lambok. jar

Restart eclipse and use annotations.

@ Setter
@ Getter

Eclipse is still unavailable. Cause: the eclipse. ini file contains the following missing sentence:-Xbootclasspath/a: lombok. jars

 

Add-Xbootclasspath/a: lombok. jars to the end of the eclipse. ini file.

Restart eclipse.

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.