0

我正在尝试安装 GeoMesa 和 GeoServer。在完成http://www.geomesa.org/documentation/user/installation_and_configuration.html中给出的 GeoMesa 安装过程/步骤后。我尝试启动 GeoServer,但出现以下错误:

hduser@ram-VPCEB3AGG:/usr/local/geoserver$ bin/startup.sh 
GEOSERVER DATA DIR is /usr/local/geoserver/data_dir
2016-02-26 15:03:35.061::INFO:  Logging to STDERR via org.mortbay.log.StdErrLog
2016-02-26 15:03:35.108::WARN:  Deprecated configuration used for /usr/local/geoserver/webapps
2016-02-26 15:03:35.133::INFO:  jetty-6.1.8
2016-02-26 15:03:36.129::WARN:  Failed startup of context org.mortbay.jetty.webapp.WebAppContext@142bad79{/geoserver,file:/usr/local/geoserver/webapps/geoserver/}
java.util.zip.ZipException: error in opening zip file
    at java.util.zip.ZipFile.open(Native Method)
    at java.util.zip.ZipFile.<init>(ZipFile.java:215)
    at java.util.zip.ZipFile.<init>(ZipFile.java:145)
    at java.util.jar.JarFile.<init>(JarFile.java:154)
    at java.util.jar.JarFile.<init>(JarFile.java:118)
    at org.mortbay.jetty.webapp.TagLibConfiguration.configureWebApp(TagLibConfiguration.java:168)
    at org.mortbay.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1217)
    at org.mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.java:510)
    at org.mortbay.jetty.webapp.WebAppContext.doStart(WebAppContext.java:448)
    at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:39)
    at org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.java:152)
    at org.mortbay.jetty.handler.ContextHandlerCollection.doStart(ContextHandlerCollection.java:156)
    at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:39)
    at org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.java:152)
    at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:39)
    at org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:130)
    at org.mortbay.jetty.Server.doStart(Server.java:222)
    at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:39)
    at org.mortbay.xml.XmlConfiguration.main(XmlConfiguration.java:977)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:606)
    at org.mortbay.start.Main.invokeMain(Main.java:183)
    at org.mortbay.start.Main.start(Main.java:497)
    at org.mortbay.start.Main.main(Main.java:115)
2016-02-26 15:03:36.137::INFO:  Opened /usr/local/geoserver/logs/2016_02_26.request.log
2016-02-26 15:03:36.153::INFO:  Started SelectChannelConnector@0.0.0.0:8080
4

1 回答 1

0

发生错误是因为 hbase-shaded-client-1.4.11.jarhtrace-core-3.1.0-incubating.jar不是真正的 jar 文件。它们是由于 maven 重定向而生成的 Xml 文件。安装 install-shaded-hbase-hadoop.sh脚本无法正确下载所需的 jar。将罐子手动放置在地理服务器的 WEB-INF/lib 目录中对我有用。以下是罐子的链接。

于 2020-05-12T04:52:58.067 回答