Dear all,
I experienced the same problem: with GeoServer 2.14.1 the Print Plugin
did not work anymore.
This solution outlined by Andrea solved it:
--> copy `jts-core-1.14.0.jar` additionally to
`geoserver/webapps/geoserver/WEB-INF/lib`
The `lib` directory finally contains `jts-core-1.14.0.jar` and
`jts-core-1.16.0.jar` side-by-side.
Maybe this helpful for someone.
Best wishes from snowy Austria,
Jakob
On Fri, Nov 30, 2018 at 6:29 PM Paul Wittle via Geoserver-users
<geoserver-users@lists.sourceforge.net
<mailto: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
<mailto:Geoserver-users@lists.sourceforge.net>
https://lists.sourceforge.net/lists/listinfo/geoserver-users
_______________________________________________
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