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.