首页 / 浏览问题 / 组件GIS / 问题详情
iobjectsJava报错,帮助文档敲的代码
28EXP 2017年06月14日


报错内容

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.gx.supermap.Frame.<init>(Frame.java:37)
    at com.gx.supermap.Frame$1.run(Frame.java:30)
    at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:312)
    at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:745)
    at java.awt.EventQueue.access$300(EventQueue.java:103)
    at java.awt.EventQueue$3.run(EventQueue.java:706)
    at java.awt.EventQueue$3.run(EventQueue.java:704)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
    at java.awt.EventQueue.dispatchEvent(EventQueue.java:715)
    at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:242)
    at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:161)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:150)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:146)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:138)
    at java.awt.EventDispatchThread.run(EventDispatchThread.java:91)
Exception in thread "AWT-EventQueue-0" 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.gx.supermap.Frame.<init>(Frame.java:37)
    at com.gx.supermap.Frame$1.run(Frame.java:30)
    at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:312)
    at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:745)
    at java.awt.EventQueue.access$300(EventQueue.java:103)
    at java.awt.EventQueue$3.run(EventQueue.java:706)
    at java.awt.EventQueue$3.run(EventQueue.java:704)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
    at java.awt.EventQueue.dispatchEvent(EventQueue.java:715)
    at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:242)
    at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:161)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:150)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:146)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:138)
    at java.awt.EventDispatchThread.run(EventDispatchThread.java:91)

第一个是架包出错,第二个是什么

1个回答

没有配置objects Java的环境造成的,可以操作如下:

1、在【高级系统设置】中设置objects Java bin的path路径;

2、重启开发平台;

3、检查工程中调用的jar包是否是步骤1中bin下的jar包。
2,042EXP 2017年06月14日
修改bin包后,有出现了dll文件Can't find dependent libraries(找不到依赖库)的问题了,要如何解决?????
...