Record a bug resolution process: Eclipse integrated Lombok Plugin

Source: Internet
Author: User
Tags log4j

A summary

    • Eclipse Integration Plugin Lombok;
    • Start the spring boot project;
    • Sublime Global search Keyword: CTRL + SHIFT + F
    • Lambda expressions in JDK8 use the

Two bug Description: integrated Eclipse plugin Lombok

The Lombok plugin, which uses annotations @data, omits frequent getter and setter methods in the code. Install the plugin: install it by downloading the jar package and set it to your Eclipse.exe path. Official: http://projectlombok.org/download.html.

// @Data: Annotations are on classes, provide getting and setting methods for all properties of a class, and also provide equals, canequal, Hashcode, toString methods // @Setter: Annotations on attributes; providing setting methods for attributes // @Getter: Annotations on attributes; providing getting methods for attributes // @Log4j: Annotations are on a class, and a log4j log object with a property named log is provided for the class // @NoArgsConstructor: Annotations on a class, providing an argument-free construction method for a class // @AllArgsConstructor: Annotations are on a class, and a method for constructing a class with full parameters

Three bug Description: Start the Spring boot project

The Main.java file in the project, Run as, Java application, appears as follows on the console consoles:

 for 31.473)

Indicates that the project started successfully. Locate the port configuration entry in configuration file application.properties: server.port=8086. Enter the address in the Chrome browser: http://localhost:8086/swagger-ui.html. This can be seen in the interface test page, the project with strict front-end separation, the interaction is completely in the HTTP protocol call API interface way to do.

In addition, Adanos approval system daily environment address: http://adanos.test.wacai.info/.

Four bug Description: Use of lambda expressions in JDK8

Lambda expressions and streams are the biggest changes since the Java language added generics (generics) and annotations (annotation).

http://blog.csdn.net/renfufei/article/details/24600507

Five Bug description

Six Bug Descriptions

Seven

Record a bug resolution process: Eclipse integrated Lombok Plugin

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.