java.lang.IncompatibleClassChangeError: Found class > com.sun.image.codec.jpeg.JPEGEncodeParam, but interface was expected at org.apache.stylebook.printers.ImagePrinter.print > (Unknown Source)

xerces-j-users | Michael Glavassevich | 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

    Re: compiling from source error!

    xerces-j-users | 7 years ago | Michael Glavassevich
    java.lang.IncompatibleClassChangeError: Found class > com.sun.image.codec.jpeg.JPEGEncodeParam, but interface was expected at org.apache.stylebook.printers.ImagePrinter.print > (Unknown Source)
  2. 0

    Re: compiling from source error!

    xerces-j-users | 7 years ago | Michael Glavassevich
    java.lang.IncompatibleClassChangeError: Found class > com.sun.image.codec.jpeg.JPEGEncodeParam, but interface was expected at org.apache.stylebook.printers.ImagePrinter.print > (Unknown Source)

    Root Cause Analysis

    1. java.lang.IncompatibleClassChangeError

      Found class > com.sun.image.codec.jpeg.JPEGEncodeParam, but interface was expected at org.apache.stylebook.printers.ImagePrinter.print > (Unknown Source)

      at org.apache.stylebook.BasicEntry.create()
    2. org.apache.stylebook
      StyleBook.main
      1. org.apache.stylebook.BasicEntry.create(Unknown Source)
      2. org.apache.stylebook.Project.create(Unknown Source)
      3. org.apache.stylebook.StyleBook.main(Unknown Source)
      3 frames