Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

any reason why this won't work on App Engine Java8? #190

Closed
Rob46 opened this issue Mar 29, 2018 · 4 comments
Closed

any reason why this won't work on App Engine Java8? #190

Rob46 opened this issue Mar 29, 2018 · 4 comments

Comments

@Rob46
Copy link

Rob46 commented Mar 29, 2018

I see that it says it won't work for Google App Engine, but I assume that is for the older Java 7 which only allowed white listed jars. Java 8 allows any jar, and use openjdk8

Any proof it won't work in that environment?

danfickle added a commit that referenced this issue Mar 30, 2018
Also note that it should work on Java 8 AppEngine.
@danfickle
Copy link
Owner

Thanks @Rob46

I'll close this in favor of #179 - we can continue discussion there.

@Rob46
Copy link
Author

Rob46 commented Mar 31, 2018

What is the minimal list of jars I need?

I've tried to figure this out via maven (not something I use) but I'm still missing stuff:
com.google.apphosting.runtime.jetty9.JettyLogger warn: Error for /testservlet
java.lang.NoClassDefFoundError: de/rototor/pdfbox/graphics2d/PdfBoxGraphics2DFontTextDrawer
at com.openhtmltopdf.pdfboxout.PdfBoxRenderer.(PdfBoxRenderer.java:180)
at com.openhtmltopdf.pdfboxout.PdfRendererBuilder.buildPdfRenderer(PdfRendererBuilder.java:106)
at com.openhtmltopdf.pdfboxout.PdfRendererBuilder.run(PdfRendererBuilder.java:84)

@Rob46
Copy link
Author

Rob46 commented Mar 31, 2018

I found the missing lib. In initial testing on GAE Std Java 8 I am not getting any exceptions.

@Rob46
Copy link
Author

Rob46 commented Mar 31, 2018

With my basic HTML test it works on Google App Engine Standard Java 8! :-)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants