优美短文

maven 程序包com.sun.image.codec.jpeg

在 Pom.xml 增加

<build>
        <plugins>
            <plugin>
                <artifactId>maven-compiler-plugin</artifactId>
                <configuration>
                    <encoding>UTF-8</encoding>
                    <compilerArguments>
                        <verbose />
                        <bootclasspath>/Library/Java/JavaVirtualMachines/jdk1.7.0_80.jdk/Contents/Home/jre/lib/rt.jar</bootclasspath>
                    </compilerArguments>
                </configuration>
            </plugin>
        </plugins>
    </build>

仅适用1.7 jdk

posted @ 2017-05-22 12:15  一根PHP  阅读(2228)  评论(0编辑  收藏  举报