David Blasby created an issue |
Issue Type: |
Bug |
---|---|
Affects Versions: |
2.22-M0 |
Assignee: |
Unassigned |
Created: |
29/Sep/22 2:06 AM |
Priority: |
Medium |
Reporter: |
When running, you will get this issue; 28 005 15:05:40 WARN [support.XmlWebApplicationContext] - Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name ‘wmsServiceDescriptor’ defined in URL [jar:file:/Users/db/.m2/repository/org/geoserver/web/gs-web-wms/2.22-SNAPSHOT/gs-web-wms-2.22-SNAPSHOT.jar!/applicationContext.xml]: Unsatisfied dependency expressed through constructor parameter 0; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘geoServer’ defined in URL [jar:file:/Users/db/.m2/repository/org/geoserver/gs-main/2.22-SNAPSHOT/gs-main-2.22-SNAPSHOT.jar!/applicationContext.xml]: Cannot resolve reference to bean ‘catalog’ while setting bean property ‘catalog’; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘localWorkspaceCatalog’ defined in URL [jar:file:/Users/db/.m2/repository/org/geoserver/gs-main/2.22-SNAPSHOT/gs-main-2.22-SNAPSHOT.jar!/applicationContext.xml]: Cannot resolve reference to bean ‘advertisedCatalog’ while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘advertisedCatalog’ defined in URL [jar:file:/Users/db/.m2/repository/org/geoserver/gs-main/2.22-SNAPSHOT/gs-main-2.22-SNAPSHOT.jar!/applicationContext.xml]: Cannot resolve reference to bean ‘secureCatalog’ while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘accessRulesDao’ defined in URL [jar:file:/Users/db/.m2/repository/org/geoserver/gs-main/2.22-SNAPSHOT/gs-main-2.22-SNAPSHOT.jar!/applicationSecurityContext.xml]: Cannot resolve reference to bean ‘rawCatalog’ while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘rawCatalog’ defined in URL [jar:file:/Users/db/.m2/repository/org/geoserver/gs-main/2.22-SNAPSHOT/gs-main-2.22-SNAPSHOT.jar!/applicationContext.xml]: Initialization of bean failed; nested exception is java.lang.RuntimeException: com.thoughtworks.xstream.converters.ConversionException: (and a bunch more errors) The issue is caused here; info.getSettings() is null. This root issue is that there isn’t a settings section in the global.xml file. Running “jetty:run” will create a “minimal” datadir with this global.xml (no settings); % more ./src/main/webapp/data/global.xml
See https://github.com/geoserver/geoserver/blob/main/data/minimal/global.xml |
Get Jira notifications on your phone! Download the Jira Cloud app for Android or iOS |
|
This message was sent by Atlassian Jira (v1001.0.0-SNAPSHOT#100207-sha1:ee9e30a) |