Hi list,

 I have had some problems upgrading Geoserver 2.20.1.
I had to exclude https://build.geoserver.org/geoserver/2.20.x/community-latest/geoserver-2.20-SNAPSHOT-geopkg-plugin.zip
from my installation, to get it started.

Maybe others are interested in this.

Log:

26 Nov 13:40:14 ERROR [context.ContextLoader] - Context initialization failed org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'geopkgProcess': Lookup method resolution failed; nested exception is java.lang.IllegalStateException: Failed to introspect Class [org.geoserver.geopkg.wps.GeoPackageProcess] from ClassLoader [ParallelWebappClassLoader
  context: geoserver
  delegate: false
----------> Parent Classloader:
java.net.URLClassLoader@5a10411
]
         at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.determineCandidateConstructors(AutowiredAnnotationBeanPostProcessor.java:267)          at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.determineConstructorsFromBeanPostProcessors(AbstractAutowireCapableBeanFactory.java:1267)          at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1182)          at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:554)          at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:514)          at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:321)          at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:234)          at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:319)          at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:199)          at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:866)          at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:878)          at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:550)          at org.springframework.web.context.ContextLoader.configureAndRefreshWebApplicationContext(ContextLoader.java:401)          at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:292)          at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:103)          at org.geoserver.platform.GeoServerContextLoaderListener.contextInitialized(GeoServerContextLoaderListener.java:22)          at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4768)          at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5230)          at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)          at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:726)          at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:698)          at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:696)          at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1185)          at org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:1933)          at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)          at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)          at org.apache.tomcat.util.threads.InlineExecutorService.execute(InlineExecutorService.java:75)          at java.base/java.util.concurrent.AbstractExecutorService.submit(AbstractExecutorService.java:118)          at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:1095)


Caused by: java.lang.IllegalStateException: Failed to introspect Class [org.geoserver.geopkg.wps.GeoPackageProcess] from ClassLoader [ParallelWebappClassLoader
  context: geoserver
  delegate: false
----------> Parent Classloader:
java.net.URLClassLoader@5a10411
]
         at org.springframework.util.ReflectionUtils.getDeclaredMethods(ReflectionUtils.java:507)          at org.springframework.util.ReflectionUtils.doWithMethods(ReflectionUtils.java:404)          at org.springframework.util.ReflectionUtils.doWithMethods(ReflectionUtils.java:389)          at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.determineCandidateConstructors(AutowiredAnnotationBeanPostProcessor.java:249)
         ... 56 more
Caused by: java.lang.NoClassDefFoundError: org/geotools/geopkg/wps/GeoPackageProcessRequest$Parameter
         at java.base/java.lang.Class.getDeclaredMethods0(Native Method)
         at java.base/java.lang.Class.privateGetDeclaredMethods(Class.java:3166)
         at java.base/java.lang.Class.getDeclaredMethods(Class.java:2309)
         at org.springframework.util.ReflectionUtils.getDeclaredMethods(ReflectionUtils.java:489)
         ... 59 more
Caused by: java.lang.ClassNotFoundException: org.geotools.geopkg.wps.GeoPackageProcessRequest$Parameter          at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1407)          at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1215)
         ... 63 more

26-Nov-2021 13:40:14.726 SEVERE [main] org.apache.catalina.core.StandardContext.startInternal One or more listeners failed to start. Full details will be found in the appropriate container log file 26-Nov-2021 13:40:14.727 SEVERE [main] org.apache.catalina.core.StandardContext.startInternal Context [/geoserver] startup failed due to previous errors



--
Dipl. Ing. Stefan Overkamp
overk...@posteo.de



_______________________________________________
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

Reply via email to