[Geoserver-devel] [JIRA] (GEOS-10015) Print extension is broken in recent versions

Mauro Bartolomeoli created an issue

GeoServer / ImprovementGEOS-10015

Print extension is broken in recent versions

Issue Type:

ImprovementImprovement

Affects Versions:

2.19.0

Assignee:

Unassigned

Components:

Mapfish print

Created:

09/Apr/21 8:57 AM

Priority:

MediumMedium

Reporter:

Mauro Bartolomeoli

Calling http://localhost:8080/geoserver/pdf/info.json you get the following error:

javax.servlet.ServletException: org.springframework.web.util.NestedServletException: Handler dispatch failed; nested exception is java.lang.NoSuchMethodError: org.json.JSONWriter.<init>(Ljava/io/Writer;)V

This should be related to the json-20180813.jar library that has a breaking change on methods used by the printing extension.

See here how the mapfish-app application solved the same, reverting the library version:

https://github.com/georchestra/georchestra/pull/2517/files

Add Comment

Add Comment

Get Jira notifications on your phone! Download the Jira Cloud app for Android or iOS


This message was sent by Atlassian Jira (v1001.0.0-SNAPSHOT#100156-sha1:ef05106)

Atlassian logo