Hi,

I'm trying to compile some Java code with Maven and I've been knocking my head against
a problem all morning. The following list of imports fails to resolve:

import java.awt.Container;
import java.awt.Graphics2D;
import java.awt.Image;
import java.awt.MediaTracker;
import java.awt.RenderingHints;
import java.awt.Toolkit;
import java.awt.image.BufferedImage;
import java.io.ByteArrayOutputStream;
import java.io.IOException;

import com.sun.image.codec.jpeg.ImageFormatException;
import com.sun.image.codec.jpeg.JPEGCodec;
import com.sun.image.codec.jpeg.JPEGEncodeParam;
import com.sun.image.codec.jpeg.JPEGImageEncoder;

the underlined fail. What drives me insane is, that all of those classes reside in the java version's classes.jar. So why the extra treatment for the com.sun.XY classes?

J.L.Simon

Reply via email to