---
title: "警告：com.sun.image.codec.jpeg.JPEGCodec 是 Sun 的专用 API，可能会在未来版本中删除"
author: "hebad90"
date: "2014-08-11T16:06:02Z"
tags: []
categories: ["开源软件"]
slug: "com-sun-image-codec-jpeg-jpegcodec-sun-api"
draft: false
lastmod: "2014-08-11T16:06:02Z"
id: 2102487
url: "https://hebad90.iteye.com/blog/2102487"
---

```
<build>
        <plugins>
            <plugin>
                <artifactId>maven-compiler-plugin</artifactId>
                <configuration>
                    <encoding>UTF-8</encoding>
                    <compilerArguments>
                        <verbose />
                        <bootclasspath>${java.home}\lib\rt.jar</bootclasspath>
                    </compilerArguments>
                </configuration>
            </plugin>
        </plugins>
    </build>
```