官术网_书友最值得收藏!

  • Spring 5.0 By Example
  • Claudio Eduardo de Oliveira
  • 77字
  • 2021-06-24 19:17:33

Adding Lombok dependency

Put the following dependency in a pom.xml file:

<dependency>
<groupId>org.projectlombok</groupId>
<artifactId>lombok</artifactId>
<version>1.16.16</version>
<scope>provided</scope>
</dependency>

The provided scope instructs Maven not to include this dependency in the JAR file because we need it at compile time. We do not need it at runtime. Wait for Maven to download the dependency, that is all for now.

Also, we can use the Reimport All Maven Projects provided by IntelliJ IDEA, located in the Maven Projects tab, as shown here:

主站蜘蛛池模板: 湖北省| 姚安县| 翁牛特旗| 塘沽区| 嘉鱼县| 历史| 河北省| 元江| 中卫市| 海南省| 刚察县| 灵璧县| 四川省| 临颍县| 临湘市| 漯河市| 临泽县| 吴川市| 安阳市| 逊克县| 乌苏市| 武夷山市| 塔河县| 松桃| 奈曼旗| 新源县| 兖州市| 青铜峡市| 南平市| 象州县| 兴安盟| 曲阜市| 宣汉县| 富蕴县| 山西省| 化州市| 冕宁县| 黔南| 赞皇县| 湾仔区| 通城县|