在pom.xml文件中添加以下引用
<dependency>
<groupId>jdk.tools</groupId><artifactId>jdk.tools</artifactId>
<version>1.6</version>
<scope>system</scope>
<systemPath>${JAVA_HOME}/lib/tools.jar</systemPath>
</dependency>
在pom.xml文件中添加以下引用
<dependency>
<groupId>jdk.tools</groupId>