We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Java Spring Aspose to Google App Engine

I am going to deploy Java Spring App with Aspose.Words library into Google App Engine.
JavaRuntime 11
But new Document(String Path) returns null and error on Google App Engine.
It works properly on local pc.

com.aspose aspose-words 21.7 jdk17

Document doc;

    try {
        doc = new Document(dataDir + "report_template.doc");

        // Save the document in PDF format.
        outDir = outDir + "output.pdf";
        doc.save(outDir);
        return outDir;
    } catch (Exception e) {
        return e.getMessage();
    }

when save doc into pdf, it occurs errorScreenshot 2021-07-29 135505.png (70.0 KB)

@kedev123

We have logged a ticket as WORDSJAVA-2633 to analyze what it takes to work Aspose.Words for Java in Google App Engine. We will inform you via this forum thread once there is an update available on it.