java object本地运行正常,打包放在Linux上报错不能正常运行,错误如下:
Caused by: java.lang.UnsatisfiedLinkError: com.supermap.data.ToolkitNative.jni_SetDtNameAsTableName(Z)V
at com.supermap.data.ToolkitNative.jni_SetDtNameAsTableName(Native Method)
at com.supermap.data.Toolkit.setDtNameAsTableName(Unknown Source)
at com.top.tpscods.core.utils.SupermapHelper.createDatasource(SupermapHelper.java:38)
at com.top.tpscods.core.utils.SupermapHelper.getDatasource(SupermapHelper.java:72)
at com.top.tpscods.core.service.impl.DataProcessServiceImpl.importShpFile(DataProcessServiceImpl.java:78)
at com.top.tpscods.core.service.impl.DataProcessServiceImpl$$EnhancerByCGLIB$$c9fe82cc.CGLIB$importShpFile$2(<generated>)
at com.top.tpscods.core.service.impl.DataProcessServiceImpl$$EnhancerByCGLIB$$c9fe82cc$$FastClassByCGLIB$$f238215d.invoke(<generated>)
at net.sf.cglib.proxy.MethodProxy.invokeSuper(MethodProxy.java:228)
at com.jfinal.ext.proxy.CglibCallback.lambda$intercept$0(CglibCallback.java:58)
at com.jfinal.aop.Invocation.invoke(Invocation.java:101)
... 201 more