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

lenya-user | Petteri Sulonen | 7 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Problem with SVG modules and JPEG images

    lenya-user | 7 years ago | Petteri Sulonen
    java.lang.IncompatibleClassChangeError: Found class com.sun.image.codec.jpeg.JPEGEncodeParam, but interface was expected

    Root Cause Analysis

    1. java.lang.IncompatibleClassChangeError

      Found class com.sun.image.codec.jpeg.JPEGEncodeParam, but interface was expected

      at org.apache.batik.transcoder.image.JPEGTranscoder.writeImage()
    2. Batik SVG transcoder classes
      JPEGTranscoder.writeImage
      1. org.apache.batik.transcoder.image.JPEGTranscoder.writeImage(Unknown Source)
      1 frame