Geoserver清除"资源缓存"和重新载入"配置和目录"

后报错如下
Error creating bean with name 'gwcFacade' defined in URL [jar:file:/geoserver219/webapps/geoserver/WEB-INF/lib/gs-gwc-2.19.0.jar!/applicationContext.xml]: Cannot resolve reference to bean 'DiskQuotaMonitor' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'DiskQuotaMonitor' defined in URL [jar:file:/geoserver219/webapps/geoserver/WEB-INF/lib/gs-gwc-2.19.0.jar!/geowebcache-diskquota-context.xml]: Invocation of init method failed; nested exception is java.lang.RuntimeException: org.opengis.referencing.NoSuchAuthorityCodeException: No code "EPSG:4326" from authority "European Petroleum Survey Group" found for object of type "IdentifiedObject".
经过排查是操作系统用户对geoserver目录权限不够问题,比如linux系统切换到root帐号再启动geoserver,即可解决以上问题。

本文介绍了如何在遇到Geoserver启动错误,特别是关于EPSG:4326代码缺失的问题时,通过清理资源缓存和调整用户权限来解决问题。具体步骤包括切换到root用户并重新加载配置。
1657

被折叠的 条评论
为什么被折叠?



