2 leiyang624 leiyang624 于 2014.09.29 16:19 提问

java项目使用jni出错NoClassDefFoundError

Caused by: java.lang.NoClassDefFoundError: com.yhty.service.impl.other.GetOweInfoByTuxedo (initialization failure)
at java.lang.J9VMInternals.initialize(J9VMInternals.java:134)
at com.yhty.service.impl.other.PhonePaymentManagerImpl.getOweInfo(PhonePaymentManagerImpl.java:46)
at sun.reflect.GeneratedMethodAccessor2060.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:618)
at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:304)
at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:106)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
at $Proxy315.getOweInfo(Unknown Source)
at com.yhty.ws.impl.IplatformServiceManagerImpl.getOweInfo(IplatformServiceManagerImpl.java:1254)
at sun.reflect.GeneratedMethodAccessor2059.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:618)
GetOweInfoByTuxedo声明native方法的类,在调用时出现上面异常信息,说是初始化错误,那位大神知道原因吗?纠结好长时间了。

Csdn user default icon
上传中...
上传图片
插入图片
准确详细的回答,更有利于被提问者采纳,从而获得C币。复制、灌水、广告等回答会被删除,是时候展现真正的技术了!