How do people get Aspose.Slides to work? I’m getting a fatal error when I’m doing the most basic thing there is:
Presentation pres = new Presentation();
This results in a java.lang.ClassNotFoundException: com.aspose.slides.obfuscated.abk
Google has never heard of this, and searching on this forum doesn’t turn up anything either.
I’m using aspose.slides-2.7.0.jar
Any help would be greatly appreciated.
Hello Dear,
I imported com.aspose.slides.
I changed my code to use com.aspose.slides.pptx. and PresentationEx, and now it works fine.
For now, this is good enough, but in case I want to create a Presentation with the old ppt format in the future, I’d still like to know what the problem with com.aspose.slides.Presentation is.
Hello Dear,
I’m using Groovy+Grails. At the moment, my code looks like this:
import com.aspose.slides.pptx.;
import com.aspose.slides.;
import org.jfree.chart.plot.;
import org.jfree.chart.;
import org.jfree.data.general.*;
import org.jfree.data.general.PieDataset;
import javax.imageio.ImageIO;
import javax.imageio.stream.ImageOutputStream;
import javax.imageio.stream.MemoryCacheImageOutputStream;
import java.awt.image.BufferedImage;
class GraphController {
def index = {
Presentation p = new Presentation();
}
}
(All the other imports are to create an image to include in the presentation.)
The error happens on the line with "Presentation p = new Presentation();"
PS: I realize English is not your first language, so I hope you don’t mind a friendly correction: “Hello Dear” makes it sound like we are married. It’s how people tend to address their spouse. It feels a bit weird to be addressed like that by a representative from a company. Just “Hello” or possibly with username: “Hello Quincebv” (though that isn’t my real name) would look better.