maven打包编译的错误:sun.misc.BASE64Decoder是Sun的专用API,可能会在将来版本中删除

今天遇到 sun.misc.BASE64Decoder是Sun的专用API,可能会在将来版本中删除 的错误 算是maven的一个bug吧。 maven-compiler-plugin 2.3.2 发布之后把这个错误改为了告警。 因此只要将这个插件升级一下就行了。java

```
 <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-compiler-plugin</artifactId>
                <version>2.3.2</version>
                <configuration>
                    <source>1.6</source>
                    <target>1.6</target>
                    <encoding>UTF-8</encoding>
                    <compilerArguments>
                        <verbose />
                        <bootclasspath>${java.home}/lib/rt.jar</bootclasspath>
                    </compilerArguments>
                </configuration>
            </plugin>
相关文章
相关标签/搜索