Error generated when a com.aspose.slides.Presentation object is being created

Hey…

I am trying to create a com.aspose.slides.Presentation object from an inputstream.
Its working fine with some of the presentations which consists of plain text and no master templates or pictures but with most of the presentations with master templates its giving the following error:
java.lang.NoClassDefFoundError: com/sun/media/jai/codec/ByteArraySeekableStream

on the line:
com.aspose.slides.Presentation ppt1 = new com.aspose.slides.Presentation(is);
where “is” is the inputstream.ie. whnever i am trying to create a Presentation object.

I am using JAI 1.1.2_01 and JAI Image I/O 1.0_01.

Can anyone please tell where exactly can be the error??
Thanks…

Dear tapanghia,

Thanks for considering Aspose.Slides for JAVA.

Please read this thread.