Record a bug Solution Process: eclipse integrates lombok plug-in and javasselombok

Source: Internet
Author: User

Record a bug Solution Process: eclipse integrates lombok plug-in and javasselombok

Summary

  • Eclipse integration plug-in lombok;
  • Start the Spring Boot project;
  • Sublime Global Search Keyword: ctrl + shift + F
  • Use the lambda expression in JDK 8

2. BUG Description: Integrated eclipse plug-in lombok

The lombok plug-in uses the annotation @ Data method to omit frequently getter and setter methods in the code. Install the plug-in: Download the jar package and set it to your eclipse.exe path. Official Website: http://projectlombok.org/download.html.

// @ Data: Annotation on the class; provides the getting and setting methods for all attributes of the class, and also provides the equals, canEqual, hashCode, toString method // @ Setter: annotation on the property; setting Method for the property // @ Getter: Annotation on the property; getting method for the property // @ Log4j: Annotation on the class; provide a log4j log object named log for the class // @ NoArgsConstructor: Annotation on the class; Provide a construction method without parameters for the class // @ AllArgsConstructor: Annotation on the class; provides a full parameter construction method for the class.

Three BUG Description: Start the Spring Boot Project

In the Main. java file of the project, Run As-> Java Application. Wait until the console appears As follows:

Started Main in 28.969 seconds (JVM running for 31.473)

The project is successfully started. In the configuration file application. properties, find the port configuration item: server. port = 8086. Enter the address: http: // localhost: 8086/swagger-ui.html in Chrome. This shows the Interface Test page. The project adopts strict front-end and back-end separation, and the interaction uses the HTTP protocol to call the API.

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

4. BUG Description: Use of Lambda expressions in JDK 8

Lambda expressions and stream are the greatest changes since the Java language has added Generics and annotations.

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

Five BUG descriptions

Http://blog.csdn.net/walkerjong/article/details/50633474

6. BUG description

VII.

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.