Today I tried to install the backup/restore community plugin. Installed it by copying all the jar files to the “lib” folder. However after restarting, geoserver will not start. Am I missing some reference or config? (If I remove the files again, then server starts normally.)
Get error message in the log saying:
2022-03-16 15:00:30,904 WARN [geoserver.backuprestore] - Could not fully configure the Backup Facade!
org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘backupJob’: Cannot create inner bean ‘(inner bean)#61c5f5f4’ of type [org.springframework.batch.core.configuration.xml.SimpleFlowFactoryBean] while setting bean property ‘flow’; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘(inner bean)#61c5f5f4’: Cannot create inner bean ‘(inner bean)#24540812’ of type [org.springframework.batch.core.job.flow.support.StateTransition] while setting bean property ‘stateTransitions’ with key [0]; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘(inner bean)#24540812’: Cannot create inner bean ‘(inner bean)#92e7cc5’ of type [org.springframework.batch.core.job.flow.support.state.SplitState] while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘(inner bean)#92e7cc5’: Cannot create inner bean ‘(inner bean)#1f78493a’ of type [org.springframework.batch.core.configuration.xml.SimpleFlowFactoryBean] while setting constructor argument with key [0]; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘(inner bean)#1f78493a’: Cannot create inner bean ‘(inner bean)#216f89cc’ of type [org.springframework.batch.core.job.flow.support.StateTransition] while setting bean property ‘stateTransitions’ with key [0]; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘(inner bean)#216f89cc’: Cannot create inner bean ‘(inner bean)#4654c033’ of type [org.springframework.batch.core.job.flow.support.state.StepState] while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘(inner bean)#4654c033’: Cannot resolve reference to bean ‘backupGeoServerInfos’ while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘backupGeoServerInfos’: Cannot resolve reference to bean ‘catalogBackupTasklet’ while setting bean property ‘tasklet’; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘catalogBackupTasklet’: Lookup method resolution failed; nested exception is java.lang.IllegalStateException: Failed to introspect Class [org.geoserver.backuprestore.tasklet.CatalogBackupRestoreTasklet] from ClassLoader [ParallelWebappClassLoader
|