引用JDK里的tools.jar时出现的问题
为了解决tools.jar无法找到的问题,在pom.xml中加入如下配置信息:
<dependency>
<groupId>com.sun</groupId>
<artifactId>tools</artifactId>
<version>1.6</version>
<scope>system</scope>
<systemPath>${JAVA_HOME}/lib/tools.jar</systemPath>
</dependency>