Free Support Forum - aspose.com

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,

<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" />

Thanks for considering Aspose.Slides for JAVA.

Please read this thread.

http://www.aspose.com/Community/Forums/thread/62505/Convert-file.ppt.aspx