开发者社区> 问答> 正文

请问怎么解决

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

展开
收起
游客4d7nbgtrpehvc 2020-11-16 19:50:08 809 0
0 条回答
写回答
取消 提交回答
问答分类:
问答地址:
问答排行榜
最热
最新

相关电子书

更多
低代码开发师(初级)实战教程 立即下载
冬季实战营第三期:MySQL数据库进阶实战 立即下载
阿里巴巴DevOps 最佳实践手册 立即下载