首页 / 浏览问题 / 组件GIS / 问题详情
no WrapjGeo请问这个怎么解决?
1EXP 2018年05月10日

使用产品:iserver 9D  操作系统:win10  使用软件 eclipse

log4j:WARN No appenders could be found for logger (org.apache.commons.beanutils.converters.BooleanConverter).
log4j:WARN Please initialize the log4j system properly.
log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info.
java.lang.UnsatisfiedLinkError: no WrapjGeo 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.supermap.data.Environment.LoadWrapJ(Unknown Source)
	at com.supermap.data.Environment.<clinit>(Unknown Source)
	at com.supermap.services.providers.UGCMapProvider.<clinit>(SourceFile:91)
	at java.lang.Class.forName0(Native Method)
	at java.lang.Class.forName(Unknown Source)
	at com.supermap.services.components.MapContext.getProviders(SourceFile:164)
	at com.supermap.services.components.impl.MapImpl.c(SourceFile:1766)
	at com.supermap.services.components.impl.MapImpl.<init>(SourceFile:210)
	at com.supermap.sample.MapComponentSample.getMapComponent(MapComponentSample.java:68)
	at com.supermap.sample.MapComponentSample.queryByDistanceSample(MapComponentSample.java:77)
	at com.supermap.sample.MapComponentSample.main(MapComponentSample.java:254)

问题描述:根据官方文档,测试“MapComponentSample”这个java工程时,报上述错误,请教一下怎么解决

2 个回答

这个报错是由于没有在系统的环境变量中设置工程中引用jar包所在的bin路径,设置完后需要重启开发平台。
2,042EXP 2018年05月11日
错误提示指向找不到依赖库,将iServer/support/objectjava/bin目录的路径添加到path环境变量的最前面。
1,430EXP 2018年05月11日
...