在pom.xml添加如下 配置文件
<dependency>
<groupId>com.sun</groupId>
<artifactId>tools</artifactId>
<version>1.8.0</version>
<scope>system</scope>
<systemPath>C:/Program Files/Java/jdk1.8.0_31/lib/tools.jar</systemPath>
</dependency>
本文介绍如何在pom.xml中配置Java工具依赖,具体步骤包括指定groupId、artifactId、version等属性,并设置systemPath指向本地的tools.jar文件。
8956





