以下是日志的错误部分,请帮助重启。
01 Jan 10:30:26 WARN [support.DisposableBeanAdapter] - Invocation of destroy method failed on bean with name 'geoServerLoader': java.lang.NullPointerException
01 Jan 10:30:26 ERROR [context.ContextLoader] - Context initialization failed
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'gwcFacade' defined in URL [jar:file:/usr/share/apache-tomcat-7.0.69/webapps/geoserver/WEB-INF/lib/gs-gwc-2.8.3.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:/usr/share/apache-tomcat-7.0.69/webapps/geoserver/WEB-INF/lib/gs-gwc-2.8.3.jar!/geowebcache-diskquota-context.xml]: Cannot resolve reference to bean 'DiskQuotaStoreProvider' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'DiskQuotaStoreProvider' defined in URL [jar:file:/usr/share/apache-tomcat-7.0.69/webapps/geoserver/WEB-INF/lib/gs-gwc-2.8.3.jar!/geowebcache-diskquota-context.xml]: Invocation of init method failed; nested exception is java.lang.OutOfMemoryError: Java heap space
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:329)
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:107)
答案 0 :(得分:1)
错误是由java.lang.OutOfMemoryError: Java heap space
异常引起的。通常的解决方法是使用启动脚本中的-Xmx756M
之类的参数来增加分配给JVM的堆量。有关详细信息,请参阅this page,具体取决于您的系统。