sun.misc.BASE64Encoder是内部专用 API, 可能会在未来发行版中删除解决方案

修改一下java编译插件,增加下面内容

<compilerArguments>  
    <verbose/>  
     <bootclasspath>${java.home}/lib/rt.jarbootclasspath>  
 compilerArguments> 
<plugin>
    <groupId>org.apache.maven.pluginsgroupId>
    <artifactId>maven-compiler-pluginartifactId>
    <version>3.2version>
    <configuration>
        <source>1.7source>
        <target>1.7target>
        <encoding>UTF-8encoding>
        <compilerArguments>  
            <verbose/>  
            <bootclasspath>${java.home}/lib/rt.jarbootclasspath>  
        compilerArguments> 
    configuration>
plugin>

你可能感兴趣的:(maven)