环境如下:
1)Ubuntu16
2)Tomcat 8.8.50
3)jdk1.8
1.部署到Tomcat后启动报如上错误!
2.如下是iserver启动报的错误:
2020-1-8 17:54:23 - ERROR - 启动服务失败。
java.lang.NullPointerException
at com.supermap.services.util.Tool.c(SourceFile:1225)
at com.supermap.services.util.Tool.getSystemUGOPath(SourceFile:1231)
at com.supermap.server.host.webapp.ApplicationFilter.a(SourceFile:174)
at com.supermap.server.host.webapp.ApplicationFilter.a(SourceFile:80)
at com.supermap.server.host.webapp.ApplicationFilter$1.call(SourceFile:123)
at com.supermap.server.host.webapp.ApplicationFilter$1.call(SourceFile:120)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at com.supermap.services.util.DelegatingErrorHandlingCallable$ReflectInvoker.a(SourceFile:177)
at com.supermap.services.util.DelegatingErrorHandlingCallable.invokeQuietly(SourceFile:102)
at com.supermap.server.host.webapp.ApplicationFilter.init(SourceFile:158)
at org.apache.catalina.core.ApplicationFilterConfig.initFilter(ApplicationFilterConfig.java:283)
at org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:264)
at org.apache.catalina.core.ApplicationFilterConfig.<init>(ApplicationFilterConfig.java:108)
at org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:4546)
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5191)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:743)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:719)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:705)
at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:970)
at org.apache.catalina.startup.HostConfig$DeployWar.run(HostConfig.java:1841)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)
请问是什么问题导致的?