Hi, I'm trying to upgrade geoserver 2.21 to 2.22 and I'm getting an error when I try to use the printing extension.
Environment: - Java 8 (I've looked at some JARs manifest and it still have jdk1.8) - Tomcat 8.5.37 I'm running geoserver.war out-of-box, just adding geoserver printing JARs to the WEB-INF/lib. Geoserver starts, but when i invoke " https://localhost/geoserver/pdf/info.json" it throws this error: > > *geoserver | 16 Jan 16:28:19 ERROR [servlet.BaseMapServlet] - Error > occurred while reading configuration file* > *geoserver | > 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* > *geoserver | context: geoserver* > *geoserver | delegate: false* > *geoserver | ----------> Parent Classloader:* > *geoserver | java.net.URLClassLoader@15255efa* > *geoserver | ]* > *geoserver | at > org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.resolveFieldValue(AutowiredAnnotationBeanPostProcessor.java:660)* > *geoserver | at > org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:640)* > *geoserver | at > org.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:119)* > *geoserver | at > org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessProperties(AutowiredAnnotationBeanPostProcessor.java:399)* > *geoserver | at > org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1425)* > *geoserver | at > org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:593)* > *geoserver | at > org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:516)* > *geoserver | at > org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:342)* > *geoserver | at > org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:227)* > *geoserver | at > org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveNamedBean(DefaultListableBeanFactory.java:1175)* > *geoserver | at > org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveBean(DefaultListableBeanFactory.java:420)* > *geoserver | at > org.springframework.beans.factory.support.DefaultListableBeanFactory.getBean(DefaultListableBeanFactory.java:349)* > *geoserver | at > org.springframework.beans.factory.support.DefaultListableBeanFactory.getBean(DefaultListableBeanFactory.java:342)* > *geoserver | at > org.springframework.context.support.AbstractApplicationContext.getBean(AbstractApplicationContext.java:1127)* > *geoserver | at > org.mapfish.print.servlet.BaseMapServlet.getApplicationContext(BaseMapServlet.java:158)* > *geoserver | at > org.mapfish.print.servlet.BaseMapServlet.getMapPrinter(BaseMapServlet.java:137)* > *geoserver | at > org.mapfish.print.servlet.MapPrinterServlet.getInfo(MapPrinterServlet.java:279)* > *geoserver | at > org.mapfish.print.servlet.MapPrinterServlet.doGet(MapPrinterServlet.java:99)* > *geoserver | at > javax.servlet.http.HttpServlet.service(HttpServlet.java:635)**geoserver > | at javax.servlet.http.HttpServlet.service(HttpServlet.java:742)* Any ideas? Thanks in advance, *Tiago Vieira*
_______________________________________________ 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