Process: com.example.myapp, PID: 6657 java.lang.Error: javax.xml.datatype.DatatypeConfigurationException: Provider org.apache.xerces.jaxp.datatype.DatatypeFactoryImpl not found at javax.xml.bind.DatatypeConverterImpl. (DatatypeConverterImpl.java:744) at javax.xml.bind.DatatypeConverter. (DatatypeConverter.java:78) at javax.xml.bind.DatatypeConverter.printBase64Binary(DatatypeConverter.java:547) at com.aliyuncs.auth.HmacSHA1Signer.signString(HmacSHA1Signer.java:48) at com.aliyuncs.RpcAcsRequest.signRequest(RpcAcsRequest.java:155) at com.aliyuncs.DefaultAcsClient.doAction(DefaultAcsClient.java:282) at com.aliyuncs.DefaultAcsClient.doAction(DefaultAcsClient.java:210) at com.aliyuncs.DefaultAcsClient.doAction(DefaultAcsClient.java:100) at com.aliyuncs.DefaultAcsClient.getCommonResponse(DefaultAcsClient.java:173) at com.example.hw.mysqljdbc.SendMsg.sendMsg(SendMsg.java:41) at com.example.hw.mysqljdbc.SendMsg.service(SendMsg.java:19) at com.example.hw.mysqljdbc.MainActivity.sendMsg(MainActivity.java:132) at com.example.hw.mysqljdbc.MainActivity.onClick(MainActivity.java:87) at android.view.View.performClick(View.java:7448) at android.view.View.performClickInternal(View.java:7425) at android.view.View.access$3600(View.java:810) at android.view.View$PerformClick.run(View.java:28305) at android.os.Handler.handleCallback(Handler.java:938) at android.os.Handler.dispatchMessage(Handler.java:99) at android.os.Looper.loop(Looper.java:223) at android.app.ActivityThread.main(ActivityThread.java:7656) at java.lang.reflect.Method.invoke(Native Method) at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:592) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:947) Caused by: javax.xml.datatype.DatatypeConfigurationException: Provider org.apache.xerces.jaxp.datatype.DatatypeFactoryImpl not found at javax.xml.datatype.DatatypeFactory.newInstance(DatatypeFactory.java:106) at javax.xml.bind.DatatypeConverterImpl. (DatatypeConverterImpl.java:742) at javax.xml.bind.DatatypeConverter. (DatatypeConverter.java:78) at javax.xml.bind.DatatypeConverter.printBase64Binary(DatatypeConverter.java:547) at com.aliyuncs.auth.HmacSHA1Signer.signString(HmacSHA1Signer.java:48) at com.aliyuncs.RpcAcsRequest.signRequest(RpcAcsRequest.java:155) at com.aliyuncs.DefaultAcsClient.doAction(DefaultAcsClient.java:282) at com.aliyuncs.DefaultAcsClient.doAction(DefaultAcsClient.java:210) at com.aliyuncs.DefaultAcsClient.doAction(DefaultAcsClient.java:100) at com.aliyuncs.DefaultAcsClient.getCommonResponse(DefaultAcsClient.java:173) at com.example.hw.mysqljdbc.SendMsg.sendMsg(SendMsg.java:41) at com.example.hw.mysqljdbc.SendMsg.service(SendMsg.java:19) at com.example.hw.mysqljdbc.MainActivity.sendMsg(MainActivity.java:132) at com.example.hw.mysqljdbc.MainActivity.onClick(MainActivity.java:87) at android.view.View.performClick(View.java:7448) at android.view.View.performClickInternal(View.java:7425) at android.view.View.access$3600(View.java:810) at android.view.View$PerformClick.run(View.java:28305) at android.os.Handler.handleCallback(Handler.java:938) at android.os.Handler.dispatchMessage(Handler.java:99) at android.os.Looper.loop(Looper.java:223) at android.app.ActivityThread.main(ActivityThread.java:7656) at java.lang.reflect.Method.invoke(Native Method) at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:592) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:947) Caused by: java.lang.ClassNotFoundException: Didn't find class "org.apache.xerces.jaxp.datatype.DatatypeFactoryImpl" on path: DexPathList[[zip file "/data/app/~~4jfp6N4pBltmGKPI2gYp_w==/com.example.myapp-XCxOK5DfO9YzSGHsIcKhFQ==/base.apk"],nativeLibraryDirectories=[/data/app/~~4jfp6N4pBltmGKPI2gYp_w==/com.example.myapp-XCxOK5DfO9YzSGHsIcKhFQ==/lib/x86, /system/lib, /system_ext/lib]] at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:207) at java.lang.ClassLoader.loadClass(ClassLoader.java:379) at java.lang.ClassLoader.loadClass(ClassLoader.java:312) at javax.xml.datatype.FactoryFinder.newInstance(FactoryFinder.java:157) at javax.xml.datatype.FactoryFinder.find(FactoryFinder.java:223) at javax.xml.datatype.DatatypeFactory.newInstance(DatatypeFactory.java:99) at javax.xml.bind.DatatypeConverterImpl. (DatatypeConverterImpl.java:742) at javax.xml.bind.DatatypeConverter. (DatatypeConverter.java:78) at javax.xml.bind.DatatypeConverter.printBase64Binary(DatatypeConverter.java:547) at com.aliyuncs.auth.HmacSHA1Signer.signString(HmacSHA1Signer.java:48) at com.aliyuncs.RpcAcsRequest.signRequest(RpcAcsRequest.java:155) at com.aliyuncs.DefaultAcsClient.doAction(DefaultAcsClient.java:282) at com.aliyuncs.DefaultAcsClient.doAction(DefaultAcsClient.java:210) at com.aliyuncs.DefaultAcsClient.doAction(DefaultAcsClient.java:100) at com.aliyuncs.DefaultAcsClient.getCommonResponse(DefaultAcsClient.java:173) at com.example.hw.mysqljdbc.SendMsg.sendMsg(SendMsg.java:41) at com.example.hw.mysqljdbc.SendMsg.service(SendMsg.java:19) at com.example.hw.mysqljdbc.MainActivity.sendMsg(MainActivity.java:132) at com.example.hw.mysqljdbc.MainActivity.onClick(MainActivity.java:87) at android.view.View.performClick(View.java:7448) at android.view.View.performClickInternal(View.java:7425) at android.view.View.access$3600(View.java:810) at android.view.View$PerformClick.run(View.java:28305) at android.os.Handler.handleCallback(Handler.java:938) at android.os.Handler.dispatchMessage(Handler.java:99) at android.os.Looper.loop(Looper.java:223) at android.app.ActivityThread.main(ActivityThread.java:7656) at java.lang.reflect.Method.invoke(Native Method) at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:592) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:947) I/Process: Sending signal. PID: 6657 SIG: 9
版权声明:本文内容由阿里云实名注册用户自发贡献,版权归原作者所有,阿里云开发者社区不拥有其著作权,亦不承担相应法律责任。具体规则请查看《阿里云开发者社区用户服务协议》和《阿里云开发者社区知识产权保护指引》。如果您发现本社区中有涉嫌抄袭的内容,填写侵权投诉表单进行举报,一经查实,本社区将立刻删除涉嫌侵权内容。