警告: 是
Sun 的专用 API,可能会在未来版本中删除
解决办法
在中bulid -> publgins加入:
<plugin>
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
<encoding>UTF-8</encoding>
<compilerArguments>
<verbose />
<bootclasspath>${}\lib\</bootclasspath>
</compilerArguments>
</configuration>
</plugin>