我对本机库有疑问:ogrjni.dll
.
我把这个目录添加到 PATH 变量中ogrjni.dll
。tomcat/shared/lib
但得到错误:
java.lang.NoClassDefFoundError: Could not initialize class org.geotools.data.ogr.OGRDataStore
test.Read.getKadnum(Read.java:56)
和
java.lang.UnsatisfiedLinkError: org.gdal.ogr.ogrJNI.GetDriverCount()I
org.gdal.ogr.ogrJNI.GetDriverCount(Native Method)
org.gdal.ogr.ogr.GetDriverCount(ogr.java:98)
org.geotools.data.ogr.OGRDataStore.<clinit>(OGRDataStore.java:169)
test.Read.getKadnum(Read.java:56)
我怎样才能让它工作?