sun.misc.BASE64Encoder是內部專用 API, 可能會在未來發行版中刪除解決方案
阿新 • • 發佈:2019-02-10
修改一下java編譯外掛,增加下面內容
<compilerArguments>
<verbose/>
<bootclasspath>${java.home}/lib/rt.jar</bootclasspath>
</compilerArguments>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId >
<version>3.2</version>
<configuration>
<source>1.7</source>
<target>1.7</target>
<encoding>UTF-8</encoding>
<compilerArguments>
<verbose/>
<bootclasspath>${java.home}/lib/rt.jar</bootclasspath >
</compilerArguments>
</configuration>
</plugin>