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

  • 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:

主站蜘蛛池模板: 东光县| 雅江县| 通渭县| 乐至县| 循化| 塔城市| 双牌县| 会同县| 松原市| 牡丹江市| 吕梁市| 天祝| 望江县| 安丘市| 綦江县| 大丰市| 绥宁县| 盈江县| 从化市| 海宁市| 藁城市| 万载县| 保康县| 连云港市| 合作市| 万山特区| 芦溪县| 济阳县| 洛浦县| 定日县| 兴海县| 阳山县| 万全县| 禹城市| 巴南区| 宜兴市| 东港市| 徐闻县| 丹东市| 三河市| 高唐县|