无法在Tomcat上部署Saiku。 Saiku卡在加载屏幕上

时间:2019-05-02 07:18:49

标签: java maven tomcat saiku

我正在使用JDK 1.8,Apache Maven 3.6.0,Apache Tomcat 9和Saiku3。我刚刚从Saiku Github Repo下载了最新代码,进行了一些更改并构建了它。成功构建后,将在“ Saiku-Server”文件夹中创建名为“ saiku-ui-3.17.war”和“ saiku-webapp-3.17.war”的“ .war”文件。我将它们重命名为“ ROOT.war”和“ saiku.war”,并尝试将其部署在tomcat的Webapps中,但是Saiku被卡在登录页面中,并且在TOMCAT控制台上出现错误。

我已经尝试使用不同版本的Apache Maven和Tomcat。我也尝试删除'.m2'文件夹并重建它。

Tomcat控制台中的错误是:

02-May-2019 02:50:36.774 SEVERE [main] org.apache.catalina.startup.HostConfig.de
ployWAR Error deploying web application archive [C:\Users\saunak.ranjitkar.adm\D
ownloads\apache-tomcat-9.0.19-windows-x64\apache-tomcat-9.0.19\webapps\saiku.war
]
 java.lang.IllegalStateException: Error starting child
        at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase
.java:716)
        at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:69
0)
        at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:695)

        at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:978)

        at org.apache.catalina.startup.HostConfig$DeployWar.run(HostConfig.java:
1849)
        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:51
1)
        at java.util.concurrent.FutureTask.run(FutureTask.java:266)
        at org.apache.tomcat.util.threads.InlineExecutorService.execute(InlineEx
ecutorService.java:75)
        at java.util.concurrent.AbstractExecutorService.submit(AbstractExecutorS
ervice.java:112)
        at org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:773
)
        at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:427
)
        at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1576)
        at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java
:309)
        at org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBa
se.java:123)
        at org.apache.catalina.util.LifecycleBase.setStateInternal(LifecycleBase
.java:423)
        at org.apache.catalina.util.LifecycleBase.setState(LifecycleBase.java:36
6)
        at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.ja
va:929)
        at org.apache.catalina.core.StandardHost.startInternal(StandardHost.java
:831)
        at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
        at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.
java:1377)
        at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.
java:1367)
        at java.util.concurrent.FutureTask.run(FutureTask.java:266)
        at org.apache.tomcat.util.threads.InlineExecutorService.execute(InlineEx
ecutorService.java:75)
        at java.util.concurrent.AbstractExecutorService.submit(AbstractExecutorS
ervice.java:134)
        at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.ja
va:902)
        at org.apache.catalina.core.StandardEngine.startInternal(StandardEngine.
java:262)
        at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
        at org.apache.catalina.core.StandardService.startInternal(StandardServic
e.java:423)
        at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
        at org.apache.catalina.core.StandardServer.startInternal(StandardServer.
java:932)
        at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
        at org.apache.catalina.startup.Catalina.start(Catalina.java:633)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:62)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:498)
        at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:350)
        at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:492)
Caused by: org.apache.catalina.LifecycleException: Failed to initialize componen
t [org.apache.catalina.webresources.JarResourceSet@694abbdc]
        at org.apache.catalina.util.LifecycleBase.handleSubClassException(Lifecy
cleBase.java:440)
        at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:139)
        at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:173)
        at org.apache.catalina.webresources.StandardRoot.startInternal(StandardR
oot.java:724)
        at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
        at org.apache.catalina.core.StandardContext.resourcesStart(StandardConte
xt.java:4797)
        at org.apache.catalina.core.StandardContext.startInternal(StandardContex
t.java:4932)
        at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
        at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase
.java:713)
        ... 37 more
Caused by: java.lang.IllegalArgumentException: java.util.zip.ZipException: error
 in opening zip file
        at org.apache.catalina.webresources.AbstractSingleArchiveResourceSet.ini
tInternal(AbstractSingleArchiveResourceSet.java:143)
        at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:136)
        ... 44 more
Caused by: 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:225)
        at java.util.zip.ZipFile.<init>(ZipFile.java:155)
        at java.util.jar.JarFile.<init>(JarFile.java:166)
        at java.util.jar.JarFile.<init>(JarFile.java:130)
        at org.apache.tomcat.util.compat.JreCompat.jarFileNewInstance(JreCompat.
java:164)
        at org.apache.tomcat.util.compat.JreCompat.jarFileNewInstance(JreCompat.
java:149)
        at org.apache.catalina.webresources.AbstractSingleArchiveResourceSet.ini
tInternal(AbstractSingleArchiveResourceSet.java:140)
        ... 45 more
'''

这是Chrome控制台错误:

SaikuServer.js:107 Error performing GET on /saiku/rest/saiku/info
failure @ SaikuServer.js:107

0 个答案:

没有答案