shaxiaozilove
顽劣的石头
采纳率0%
2016-04-23 13:48

Java+ArcObject运行出错 initializeVisualBeans

1

说明:64位 Win7系统,eclipse是32位,JDK 是32位

本人初次接触 ARCObject JDK for Java,对Java有一定的了解,在eclipse中运行自带示例时,出现以下错误,请知道问题的给予指导,谢谢!

Could not load native libraries.java.lang.UnsatisfiedLinkError: no ntvinv in java.library.path

java.lang.UnsatisfiedLinkError: no ntvinv in java.library.path
at java.lang.ClassLoader.loadLibrary(Unknown Source)
at java.lang.Runtime.loadLibrary0(Unknown Source)
at java.lang.System.loadLibrary(Unknown Source)
at com.esri.arcgis.interop.NativeLoader.loadLibrary(Unknown Source)
at com.esri.arcgis.system.EngineInitializer.initializeVisualBeans(Unknown Source)
at arcgissamples.mapbean.AddLayerFileToMap.main(AddLayerFileToMap.java:322)
Exception in thread "ArcGIS VisualBean Mode STA Thread" java.lang.UnsatisfiedLinkError: com.esri.arcgis.interop.NativeObjRef.runMessagePump()V
at com.esri.arcgis.interop.NativeObjRef.runMessagePump(Native Method)
at com.esri.arcgis.interop.STAThread.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Could not load native libraries.
java.lang.UnsatisfiedLinkError: no ntvinv in java.library.path
java.lang.UnsatisfiedLinkError: no ntvinv in java.library.path
at java.lang.ClassLoader.loadLibrary(Unknown Source)
at java.lang.Runtime.loadLibrary0(Unknown Source)
at java.lang.System.loadLibrary(Unknown Source)
at com.esri.arcgis.interop.NativeLoader.loadLibrary(Unknown Source)
at com.esri.arcgis.interop.NativeObjRef.p(Unknown Source)
at com.esri.arcgis.interop.Dispatch.a(Unknown Source)
at com.esri.arcgis.interop.Dispatch.isNativeMode(Unknown Source)
at com.esri.arcgis.interop.Dispatch.createDispatch(Unknown Source)
at com.esri.arcgis.interop.Dispatch.(Unknown Source)
at com.esri.arcgis.version.IArcGISVersionProxy.(Unknown Source)
at com.esri.arcgis.version.VersionManager.(Unknown Source)
at com.esri.arcgis.version.VersionManager.(Unknown Source)
at com.esri.arcgis.system.EngineInitializer.setVersionAndInitialize(Unknown Source)
at com.esri.arcgis.system.EngineInitializer.initializeVisualBeans(Unknown Source)
at arcgissamples.mapbean.AddLayerFileToMap.main(AddLayerFileToMap.java:322)
java.lang.RuntimeException: Failed to initialize native code invocation: null
at com.esri.arcgis.interop.NativeObjRef.p(Unknown Source)
at com.esri.arcgis.interop.Dispatch.a(Unknown Source)
at com.esri.arcgis.interop.Dispatch.isNativeMode(Unknown Source)
at com.esri.arcgis.interop.Dispatch.createDispatch(Unknown Source)
at com.esri.arcgis.interop.Dispatch.(Unknown Source)
at com.esri.arcgis.version.IArcGISVersionProxy.(Unknown Source)
at com.esri.arcgis.version.VersionManager.(Unknown Source)
at com.esri.arcgis.version.VersionManager.(Unknown Source)
at com.esri.arcgis.system.EngineInitializer.setVersionAndInitialize(Unknown Source)
at com.esri.arcgis.system.EngineInitializer.initializeVisualBeans(Unknown Source)
at arcgissamples.mapbean.AddLayerFileToMap.main(AddLayerFileToMap.java:322)
Error in sample application: Can not use native code: Initialisation failed
java.lang.RuntimeException: Can not use native code: Initialisation failed
at com.esri.arcgis.interop.NativeObjRef.(Unknown Source)
at com.esri.arcgis.interop.Dispatch.createDispatch(Unknown Source)
at com.esri.arcgis.interop.Dispatch.(Unknown Source)
at com.esri.arcgis.version.IArcGISVersionProxy.(Unknown Source)
at com.esri.arcgis.version.VersionManager.(Unknown Source)
at com.esri.arcgis.version.VersionManager.(Unknown Source)
at com.esri.arcgis.system.EngineInitializer.setVersionAndInitialize(Unknown Source)
at com.esri.arcgis.system.EngineInitializer.initializeVisualBeans(Unknown Source)
at arcgissamples.mapbean.AddLayerFileToMap.main(AddLayerFileToMap.java:322)
Exiting ...

请各位知道的兄弟指点。

  • 点赞
  • 写回答
  • 关注问题
  • 收藏
  • 复制链接分享
  • 邀请回答

1条回答

相关推荐