在Geomesa安装后启动geoserver时出错

时间:2016-02-26 11:09:39

标签: geoserver geomesa

我正在尝试安装geomesa和Geo-server。刚刚完成了http://www.geomesa.org/documentation/user/installation_and_configuration.html中给出的几何安装过程/步骤之后。 我试着启动地理服务器。但是我收到了错误

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

1 个答案:

答案 0 :(得分:0)

发生错误是因为 hbase-shaded-client-1.4.11.jar htrace-core-3.1.0-incubating.jar 并不是真正的jar文件。它们是由于Maven重定向而生成的Xml文件。 install install-shaded-hbase-hadoop.sh 脚本无法正确下载所需的jar。手动将罐子放在geoserver的WEB-INF / lib目录中对我来说很有效。以下是罐子的链接。