【八阿哥】java调用dll文件提示找不到依赖库java.lang.UnsatisfiedLinkError:Can't find dependent libraries

版权声明:转载请注明我的个人微信平台 暴沸 https://blog.csdn.net/baofeidyz/article/details/81745105

先贴异常信息:

Exception in thread "main" java.lang.UnsatisfiedLinkError: C:\Program Files\Java\jdk1.8.0_181\bin\xxx.dll: Can't find dependent libraries
        at java.lang.ClassLoader$NativeLibrary.load(Native Method)
        at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1941)
        at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1824)
        at java.lang.Runtime.load0(Runtime.java:809)
        at java.lang.System.load(System.java:1086)
        at Jenc.<clinit>(Jenc.java:22)

找了好多资料,终于找到一个靠谱的,贴出原文地址:
http://sylar029.iteye.com/blog/1171260 感谢大佬,居然还有dll依赖检查工具这种神器,然后继续找到https://blog.csdn.net/chaipp0607/article/details/79307681,顺利的下载好了dll依赖检查工具

然后就帮我扫出来了,如下图所示:

至于dll文件去哪儿下载,前文中有提到一个地址:http://www.dllbang.com/ 但是我一直打不开,最后去另外一台windows电脑里面拷贝的

这个困扰我一周的问题,终于解决了,另外我担心这个dll工具下载地址失效,所以我有上传到CSDN,dll依赖检查工具

阅读更多
换一批

orageneric11.dll: Can't find dependent libraries

05-15

用的是OCI连接方式,因为要用XML的数据,但是一旦打开xml解析的页面就会报错,系统服务器正常,是页面报错。困扰了很久了,还因此换了个系统但还是没法解决。rnrn--rnava.lang.reflect.InvocationTargetExceptionrn sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)rn sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)rn sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)rn java.lang.reflect.Method.invoke(Method.java:597)rn com.opensymphony.xwork2.DefaultActionInvocation.invokeAction(DefaultActionInvocation.java:452)rn com.opensymphony.xwork2.DefaultActionInvocation.invokeActionOnly(DefaultActionInvocation.java:291)rn com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:254)rn com.opensymphony.xwork2.interceptor.DefaultWorkflowInterceptor.doIntercept(DefaultWorkflowInterceptor.java:176)rn com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:98)rn com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:248)rn com.opensymphony.xwork2.validator.ValidationInterceptor.doIntercept(ValidationInterceptor.java:263)rn org.apache.struts2.interceptor.validation.AnnotationValidationInterceptor.doIntercept(AnnotationValidationInterceptor.java:68)rn com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:98)rn com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:248)rn com.opensymphony.xwork2.interceptor.ConversionErrorInterceptor.intercept(ConversionErrorInterceptor.java:138)rn com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:248)rn com.opensymphony.xwork2.interceptor.ParametersInterceptor.doIntercept(ParametersInterceptor.java:207)rnrnjava.lang.UnsatisfiedLinkError: D:\app\lizhi\product\11.2.0\dbhome_1\BIN\orageneric11.dll: Can't find dependent librariesrn java.lang.ClassLoader$NativeLibrary.load(Native Method)rn java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1778)rn java.lang.ClassLoader.loadLibrary(ClassLoader.java:1703)rn java.lang.Runtime.loadLibrary0(Runtime.java:823)rn java.lang.System.loadLibrary(System.java:1030)rn oracle.xdb.XMLType.getConnType(XMLType.java:3734)rn oracle.xdb.XMLType.initConn(XMLType.java:3676)rn oracle.xdb.XMLType.(XMLType.java:1358)rn oracle.xdb.XMLType.createXML(XMLType.java:821)rn oracle.xdb.XMLType.createXML(XMLType.java:799)rn oracle.xdb.XMLTypeFactory.create(XMLTypeFactory.java:73)rn oracle.sql.OPAQUE.toClass(OPAQUE.java:336)rn oracle.sql.OPAQUE.toJdbc(OPAQUE.java:286)rn oracle.jdbc.driver.NamedTypeAccessor.getObject(NamedTypeAccessor.java:157)rn oracle.jdbc.driver.NamedTypeAccessor.getObject(NamedTypeAccessor.java:117)rn oracle.jdbc.driver.OracleResultSetImpl.getObject(OracleResultSetImpl.java:1062)rn com.yjya.dao.jdbc.ContentRowMapper.mapRow(ContentJdbcDao.java:45)rn

没有更多推荐了,返回首页