Geoserver fails to start on Windows 11 beta

Description

I know windows 11 is probably not supported, however I'm facing this issue when starting Geoserver. Was working fine before update (windows 10).

I have tried different versions of Java (x86 64bits, java 8-301 and others) same issue.

18 Aug 21:26:59 ERROR [context.ContextLoader] - Context initialization failed
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'OSHISystemInfoCollector' defined in URL [jar:file:/C:/Geoserver/webapps/geoserver/WEB-INF/lib/gs-main-2.19.2.jar!/org/geoserver/system/status/OSHISystemInfoCollector.class]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.geoserver.system.status.OSHISystemInfoCollector]: Constructor threw exception; nested exception is java.lang.IllegalStateException: Unmapped relationship: 7
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateBean(AbstractAutowireCapableBeanFactory.java:1300)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1195)
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)

Environment

Windows 11 -

Attachments

1

Activity

Mark Prins August 20, 2021 at 10:02 AM
Edited

Please open an issue at https://github.com/oshi/oshi with the stacktrace this will need to be fixed upstream; Oshi does not currently support Windows 11 AFAIK

When fixed in Oshi we can update to a newer version; there isn’t anay rush; currently WIndows 11 is expected to be available “late 2021”

Fixed

Details

Assignee

Reporter

Triage

Fix versions

Affects versions

Components

Priority

Created August 18, 2021 at 8:44 PM
Updated September 14, 2021 at 11:23 PM
Resolved August 23, 2021 at 8:59 AM