Since the company does not allow use outside the network, with the idea 15 before installation again. But that it is not enough idea15 friendly upgrade idea2017.3.2 today, and the same needs to be installed. . . . Then write a tutorial. Other online installation tutorial is not universal, but also for the different versions of the idea, so. . .
Into the topic: official website according to your idea to select the correct version, you still can not use, the following are specific operational procedures.
Visit our Web site:
https://plugins.jetbrains.com/
Choose your idea type: My community is
Click plugin search Lombok:
Click version:
See your idea versions:
Select the corresponding version download:
Download the results shown in Figure:
Installation offline lombok: FIG.
Restart idea:
The introduction of pom dependency, this version does not enforce restrictions:
<dependency>
<groupId>org.projectlombok</groupId> <artifactId>lombok</artifactId> <version>1.18.4</version> </dependency>
Verify available:
import com.shaozhiqi.demo.dto.GeneralObjectResp; import lombok.extern.slf4j.Slf4j; import org.springframework.web.bind.annotation.GetMapping; import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RestController; /** * Created by shaozhiqi on 2019/8/21. */ @Slf4j @RestController @RequestMapping("/user") public class UserController { @GetMapping("/") public GeneralObjectResp hello() { log.info("accept request hello"); return GeneralObjectResp.success("ok"); } }
import lombok.Data;
/**
* Created by shaozhiqi on 2019/8/21.
*/
@Data
public class User { private String userName; }
Verified by ok!