java.lang.IncompatibleClassChangeError: Found interface com.sun.image.codec.jpeg.JPEGImageEncoder, but class was expected

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via xmlgraphics-batik-users by Kerschbaum Michael , 1 year ago
Found interface com.sun.image.codec.jpeg.JPEGImageEncoder, but class was expected
via xmlgraphics-batik-users by Kerschbaum Michael , 1 year ago
Found interface com.sun.image.codec.jpeg.JPEGImageEncoder, but class was expected
via Google Groups by Miguel Coimbra, 5 months ago
Found class com.sun.image.codec.jpeg.JPEGImageEncoder, but interface was expected
via Google Groups by Miguel Coimbra, 5 months ago
Found class com.sun.image.codec.jpeg.JPEGImageEncoder, but interface was expected
via Google Groups by Christophe Klopp, 5 months ago
Found class com.sun.image.codec.jpeg.JPEGImageEncoder, but interface was expected
via Google Groups by Christophe Klopp, 5 months ago
Found class com.sun.image.codec.jpeg.JPEGImageEncoder, but interface was expected
java.lang.IncompatibleClassChangeError: Found interface com.sun.image.codec.jpeg.JPEGImageEncoder, but class was expected
at org.apache.batik.transcoder.image.JPEGTranscoder.writeImage(Unknown Source)
at org.apache.batik.transcoder.image.ImageTranscoder.transcode(Unknown Source)
at org.apache.batik.transcoder.XMLAbstractTranscoder.transcode(Unknown Source)

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.

Know the solutions? Share your knowledge to help other developers to debug faster.