Hi, This exception is coming from the Apache Stylebook, a tool which Xerces uses to build its documentation. It has dependencies on some Sun JDK internal classes so will not work on some platforms (possibly even on newer Sun JDKs which have changed those classes in incompatible ways or have even removed them). Stylebook hasn't been maintained for a long time so it's unlikely the portability issues will ever get fixed. You didn't mention which JDK you tried this with but would suggest trying a different one if you want to build the docs yourself.
Thanks. Michael Glavassevich XML Parser Development IBM Toronto Lab E-mail: [email protected] E-mail: [email protected] Ishan Jayawardena <[email protected]> wrote on 02/03/2010 09:11:27 AM: > Hi, > I tried to compile the source after checking out the source from the > repository. > First I set JAVA_HOME and issued > > ./build.sh all > > but build failed giving out following message. > > ---------------------------------------- > Applying XSL sheet "sbk:/style/stylesheets/context2label.xsl" > [java] Exception in thread "main" > java.lang.IncompatibleClassChangeError: Found class > com.sun.image.codec.jpeg.JPEGEncodeParam, but interface was expected > [java] at org.apache.stylebook.printers.ImagePrinter.print > (Unknown Source) > [java] at org.apache.stylebook.BasicEntry.create(Unknown Source) > [java] at org.apache.stylebook.Project.create(Unknown Source) > [java] at org.apache.stylebook.StyleBook.main(Unknown Source) > > BUILD FAILED > /home/ishan/devel/xerces/trunk/build.xml:426: Java returned: 1 > ----------------------------------------- > > does anyone have any idea? > Thanks in advance > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected]
