Hi Stefan,
2.20.1 is not compatible with the nightly build of the geopkg plugin,
you'll have to use a nightly
build of 2.20.x (the missing class is available there).

As a reminder, community modules are provided for testing and meant to work
only with the
corresponding nightly build, there is no guarantee they will work with a
stable, although they
often do.

Cheers
Andrea


On Fri, Nov 26, 2021 at 2:18 PM Stefan Overkamp <overk...@posteo.de> wrote:

> 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
>


-- 

Regards,

Andrea Aime

==
GeoServer Professional Services from the experts!

Visit http://bit.ly/gs-services-us for more information.
==

Ing. Andrea Aime
@geowolf
Technical Lead

GeoSolutions Group
phone: +39 0584 962313

fax:     +39 0584 1660272

mob:   +39  333 8128928

https://www.geosolutionsgroup.com/

http://twitter.com/geosolutions_it

-------------------------------------------------------

Con riferimento alla normativa sul trattamento dei dati personali (Reg. UE
2016/679 - Regolamento generale sulla protezione dei dati “GDPR”), si
precisa che ogni circostanza inerente alla presente email (il suo
contenuto, gli eventuali allegati, etc.) è un dato la cui conoscenza è
riservata al/i solo/i destinatario/i indicati dallo scrivente. Se il
messaggio Le è giunto per errore, è tenuta/o a cancellarlo, ogni altra
operazione è illecita. Le sarei comunque grato se potesse darmene notizia.

This email is intended only for the person or entity to which it is
addressed and may contain information that is privileged, confidential or
otherwise protected from disclosure. We remind that - as provided by
European Regulation 2016/679 “GDPR” - copying, dissemination or use of this
e-mail or the information herein by anyone other than the intended
recipient is prohibited. If you have received this email by mistake, please
notify us immediately by telephone or e-mail
_______________________________________________
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