SuperMap iDesktopX 二次开发许可环境变量都没问题的情况下还报如下错误:
java.lang.UnsatisfiedLinkError: com.supermap.data.EnvironmentNative.jni_InitEnvironment()V
at com.supermap.data.EnvironmentNative.jni_InitEnvironment(Native Method)
at com.supermap.data.Environment.LoadWrapJ(Environment.java:430)
at com.supermap.data.Environment.<clinit>(Environment.java:35)
at com.supermap.desktop.core.Application.c(SourceFile:498)
at com.supermap.desktop.core.Application.initialize(SourceFile:319)
at com.supermap.desktop.develop.MyStartUp.main(MyStartUp.java:10)
Exception in thread "main" java.lang.UnsatisfiedLinkError: com.supermap.data.EnvironmentNative.jni_GetBasePath()Ljava/lang/String;
at com.supermap.data.EnvironmentNative.jni_GetBasePath(Native Method)
at com.supermap.data.Environment.getUGOBasePath(Environment.java:617)
at com.supermap.data.Environment.<clinit>(Environment.java:47)
at com.supermap.desktop.core.Application.c(SourceFile:498)
at com.supermap.desktop.core.Application.initialize(SourceFile:319)
at com.supermap.desktop.develop.MyStartUp.main(MyStartUp.java:10)
an exception caught at Environment.loadLibrary(), program will continue running.
解决方案:
检查IDEA如下配置是否是jre