首页 / 浏览问题 / 桌面GIS / 问题详情
linux系统下启动服务失败
2EXP 2021年06月10日
前一分钟用的好好的,后面就不行

命令提示启动成果,但是日志显示启动失败
2021-6-10 10:42:38 - ERROR - 启动服务失败。  
java.lang.UnsatisfiedLinkError: com.supermap.data.EnvironmentNative.jni_SetMaxStdIO(I)V
    at com.supermap.data.EnvironmentNative.jni_SetMaxStdIO(Native Method)
    at com.supermap.data.Environment.setMaxStdIO(Environment.java:722)
    at com.supermap.services.providers.WorkspaceContainer.<clinit>(SourceFile:55)
    at com.supermap.server.impl.ServerImpl.c(SourceFile:1128)
    at com.supermap.server.impl.ServerImpl.a(SourceFile:1035)
    at com.supermap.server.impl.ServerImpl.start(SourceFile:392)
    at com.supermap.server.host.webapp.handlers.BasicHandler.startServer(SourceFile:684)
    at com.supermap.server.host.webapp.handlers.BasicHandler.loadServer(SourceFile:373)
    at com.supermap.server.host.webapp.handlers.BasicHandler.a(SourceFile:652)
    at com.supermap.server.host.webapp.handlers.BasicHandler.init(SourceFile:187)
    at com.supermap.server.host.webapp.ApplicationFilter.a(SourceFile:214)
    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:281)
    at org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:262)
    at org.apache.catalina.core.ApplicationFilterConfig.<init>(ApplicationFilterConfig.java:106)
    at org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:4554)
    at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5197)
    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.deployDirectory(HostConfig.java:1085)
    at org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:1802)
    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)

1个回答

你好,查看报错信息,你这个是因为缺少相关依赖,参考博客即可解决:https://blog.csdn.net/travel_Capsule/article/details/88774737

3,755EXP 2021年06月10日
...