Hi Paul, this smells like a result of the JTS upgrade, unfortunately GeoServer is using an old version of mapfish (with no funds in sight to upgrade to the latest, I'm afraid, I've been told it's not an easy switch).
My guess is that you might get that to work by dropping an older version of JTS in GeoServe in parallel with the current one, the new and the old ones are using different package names, so they should not conflict with each other Cheers Andrea On Fri, Nov 30, 2018 at 6:29 PM Paul Wittle via Geoserver-users < geoserver-users@lists.sourceforge.net> wrote: > Hi, > > > > I’m getting two errors with the mapFish printing plugin on version 2.14.1. > Here are bits of the stack traces (I can send the rest if needed): > > > > ERROR: The remote server returned an error: (500) Internal Server Error. > > CONTENT: Error while generating PDF: > > java.lang.NoClassDefFoundError: com/vividsolutions/jts/geom/Geometry > > at org.mapfish.print.map.renderers.TileRenderer.(TileRenderer.java:39) > > at > org.mapfish.print.map.readers.HTTPMapReader.render(HTTPMapReader.java:145) > > at org.mapfish.print.map.readers.WMSMapReader.render(WMSMapReader.java:180) > > For this one, could it be linked to the message here ( > https://docs.geoserver.org/stable/en/user/installation/upgrade.html)? > > > > Second error reads: > > ERROR: The remote server returned an error: (500) Internal Server Error. > > CONTENT: Error while generating PDF: > > java.lang.NoClassDefFoundError: Could not initialize class > org.mapfish.print.map.renderers.TileRenderer > > at > org.mapfish.print.map.readers.HTTPMapReader.render(HTTPMapReader.java:145) > > at org.mapfish.print.map.readers.WMSMapReader.render(WMSMapReader.java:180) > > > > Do these look like bugs with that plugin or have I missed a configuration > step whilst upgrading? > > > > Thanks, > > Paul > "This e-mail is intended for the named addressee(s) only and may contain > information about individuals or other sensitive information and should be > handled accordingly. Unless you are the named addressee (or authorised to > receive it for the addressee) you may not copy or use it, or disclose it to > anyone else. If you have received this email in error, kindly disregard the > content of the message and notify the sender immediately. Please be aware > that all email may be subject to recording and/or monitoring in accordance > with relevant legislation." > _______________________________________________ > Geoserver-users mailing list > > Please make sure you read the following two resources before posting to > this list: > - Earning your support instead of buying it, but Ian Turton: > http://www.ianturton.com/talks/foss4g.html#/ > - The GeoServer user list posting guidelines: > http://geoserver.org/comm/userlist-guidelines.html > > If you want to request a feature or an improvement, also see this: > https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer > > > Geoserver-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/geoserver-users > -- Regards, Andrea Aime == GeoServer Professional Services from the experts! Visit http://goo.gl/it488V for more information. == Ing. Andrea Aime @geowolf Technical Lead GeoSolutions S.A.S. Via di Montramito 3/A 55054 Massarosa (LU) phone: +39 0584 962313 fax: +39 0584 1660272 mob: +39 339 8844549 http://www.geo-solutions.it http://twitter.com/geosolutions_it ------------------------------------------------------- *Con riferimento alla normativa sul trattamento dei dati personali (Reg. UE 2016/679 - Regolamento generale sulla protezione dei dati “GDPR”), si precisa che ogni circostanza inerente alla presente email (il suo contenuto, gli eventuali allegati, etc.) è un dato la cui conoscenza è riservata al/i solo/i destinatario/i indicati dallo scrivente. Se il messaggio Le è giunto per errore, è tenuta/o a cancellarlo, ogni altra operazione è illecita. Le sarei comunque grato se potesse darmene notizia. This email is intended only for the person or entity to which it is addressed and may contain information that is privileged, confidential or otherwise protected from disclosure. We remind that - as provided by European Regulation 2016/679 “GDPR” - copying, dissemination or use of this e-mail or the information herein by anyone other than the intended recipient is prohibited. If you have received this email by mistake, please notify us immediately by telephone or e-mail.*
_______________________________________________ Geoserver-users mailing list Please make sure you read the following two resources before posting to this list: - Earning your support instead of buying it, but Ian Turton: http://www.ianturton.com/talks/foss4g.html#/ - The GeoServer user list posting guidelines: http://geoserver.org/comm/userlist-guidelines.html If you want to request a feature or an improvement, also see this: https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users