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.
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)