The gs-printing module? What fails? Be more specific…
I recently (last year?) changed the PDF engine from iText to OpenPDF in order to remain GPL. While tests pass as I do not use the module myself and cannot comment on how well it functions.
During the code sprint last week we updated it again to include functionality developed for the GeoNode community by GeoSolutions. Also made it build with Java 11…
But I want to use a printing module and it gives me an http 500 error with /pdf/info.json
It’s obviously a server error caused by misconfiguration.
“Error occurred while reading configuration file ‘/opt/geoserver_data/printing/config.yaml’: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name ‘mapPrinter’: Unsatisfied dependency expressed through field ‘configFactory’; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name ‘configFactory’: Unsatisfied dependency expressed through field ‘threadResources’; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘threadResources’: Lookup method resolution failed; nested exception is java.lang.IllegalStateException: Failed to introspect Class [org.mapfish.print.ThreadResources] from ClassLoader [ParallelWebappClassLoader”
note: i’m usssing a predefined config.yaml
Could you help me?
Regardrs
···
El 1/9/23 a las 23:02, Jody Garnett escribió:
The gs-printing module? What fails? Be more specific…
I recently (last year?) changed the PDF engine from iText to OpenPDF in order to remain GPL. While tests pass as I do not use the module myself and cannot comment on how well it functions.
During the code sprint last week we updated it again to include functionality developed for the GeoNode community by GeoSolutions. Also made it build with Java 11…
I did this way, I downloaded GeoServer 2.10 .war, extracted it and copied the commons-httpclient-3.1.jar file from WEB-INF/lib folder to the new versions WEB_INF/lib folder. Have yet not fully tested everything so please make backups but atleast /pdf/info.json output was ok.
Maario
Kontakt Sailing Control - Kiko (<kiko.de.carlos@anonymised.com>) kirjutas kuupäeval P, 26. november 2023 kell 10:46:
Hello,
First my apologies because I did not respond to your help.
But I want to use a printing module and it gives me an http 500 error with /pdf/info.json
It’s obviously a server error caused by misconfiguration.
“Error occurred while reading configuration file ‘/opt/geoserver_data/printing/config.yaml’: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name ‘mapPrinter’: Unsatisfied dependency expressed through field ‘configFactory’; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name ‘configFactory’: Unsatisfied dependency expressed through field ‘threadResources’; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘threadResources’: Lookup method resolution failed; nested exception is java.lang.IllegalStateException: Failed to introspect Class [org.mapfish.print.ThreadResources] from ClassLoader [ParallelWebappClassLoader”
note: i’m usssing a predefined config.yaml
Could you help me?
Regardrs
El 1/9/23 a las 23:02, Jody Garnett escribió:
The gs-printing module? What fails? Be more specific…
I recently (last year?) changed the PDF engine from iText to OpenPDF in order to remain GPL. While tests pass as I do not use the module myself and cannot comment on how well it functions.
During the code sprint last week we updated it again to include functionality developed for the GeoNode community by GeoSolutions. Also made it build with Java 11…