首页 / 浏览问题 / 组件GIS / 问题详情
java Iobject工作空间打不开
28EXP 2017年09月22日
打开工作空间报以下的错:
java.lang.UnsatisfiedLinkError: no WrapjGeo in java.library.path
    at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1886)
    at java.lang.Runtime.loadLibrary0(Runtime.java:849)
    at java.lang.System.loadLibrary(System.java:1088)
    at com.supermap.data.Environment.LoadWrapJ(Unknown Source)
    at com.supermap.data.Environment.<clinit>(Unknown Source)
    at com.supermap.data.InternalHandle.<clinit>(Unknown Source)
    at com.geographic.util.SubmergedWithDEM.execute(SubmergedWithDEM.java:34)
    at com.geographic.util.SubmergedWithDEM.main(SubmergedWithDEM.java:21)
java.lang.UnsatisfiedLinkError: no WrapjGeo in java.library.path
    at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1886)
    at java.lang.Runtime.loadLibrary0(Runtime.java:849)
    at java.lang.System.loadLibrary(System.java:1088)
    at com.supermap.data.Environment.LoadWrapJ(Unknown Source)
    at com.supermap.data.InternalHandle.<clinit>(Unknown Source)
    at com.geographic.util.SubmergedWithDEM.execute(SubmergedWithDEM.java:34)
    at com.geographic.util.SubmergedWithDEM.main(SubmergedWithDEM.java:21)
java.lang.UnsatisfiedLinkError: no WrapjGeo in java.library.path
    at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1886)
    at java.lang.Runtime.loadLibrary0(Runtime.java:849)
    at java.lang.System.loadLibrary(System.java:1088)
    at com.supermap.data.Environment.LoadWrapJ(Unknown Source)
    at com.supermap.data.Workspace.<clinit>(Unknown Source)
    at com.geographic.util.SubmergedWithDEM.execute(SubmergedWithDEM.java:34)
    at com.geographic.util.SubmergedWithDEM.main(SubmergedWithDEM.java:21)
Exception in thread "main" java.lang.UnsatisfiedLinkError: com.supermap.data.WorkspaceNative.jni_InitPlugins()V
    at com.supermap.data.WorkspaceNative.jni_InitPlugins(Native Method)
    at com.supermap.data.Workspace.loadPlugins(Unknown Source)
    at com.supermap.data.Workspace.<clinit>(Unknown Source)
    at com.geographic.util.SubmergedWithDEM.execute(SubmergedWithDEM.java:34)
    at com.geographic.util.SubmergedWithDEM.main(SubmergedWithDEM.java:21)

只是调用了包,没有安装 iobject.后来又安装了,再重新调用了包,还是不行。求帮助!!!

1个回答

需要配置path环境变量,确保工程引用的包与环境变量的包一致,然后新建一个java应用工程,在主函数入口写入一句代码(new workspace().aboutbox())验证,如果弹出一个窗体显示版本信息,说明环境OK的。
1,560EXP 2017年09月25日
...