java.lang.ClassNotFoundException: kotlin.jvm.internal.Intrinsics 落日映苍穹つ 2022-05-16 01:29 391阅读 0赞 # 全部异常如下: # Exception in thread "main" java.lang.NoClassDefFoundError: kotlin/jvm/internal/Intrinsics at okio.Okio.source(Okio.kt) at okhttp3.internal.io.RealConnection.connectSocket(RealConnection.java:144) at okhttp3.internal.io.RealConnection.connect(RealConnection.java:111) at okhttp3.internal.http.StreamAllocation.findConnection(StreamAllocation.java:188) at okhttp3.internal.http.StreamAllocation.findHealthyConnection(StreamAllocation.java:127) at okhttp3.internal.http.StreamAllocation.newStream(StreamAllocation.java:97) at okhttp3.internal.http.HttpEngine.connect(HttpEngine.java:289) at okhttp3.internal.http.HttpEngine.sendRequest(HttpEngine.java:241) at okhttp3.RealCall.getResponse(RealCall.java:240) at okhttp3.RealCall$ApplicationInterceptorChain.proceed(RealCall.java:198) at okhttp3.RealCall.getResponseWithInterceptorChain(RealCall.java:160) at okhttp3.RealCall.execute(RealCall.java:57) at com.qiniu.util.UC.build(UC.java:103) at com.qiniu.util.UC.getZoneInfo(UC.java:91) at com.qiniu.util.UC.getZone(UC.java:71) at com.qiniu.util.UC.zone(UC.java:31) at com.qiniu.util.UC.zone(UC.java:42) at com.qiniu.storage.FormUploader.upload(FormUploader.java:54) at com.qiniu.storage.UploadManager.put(UploadManager.java:184) at com.qiniu.storage.UploadManager.put(UploadManager.java:152) at com.qiniu.storage.UploadManager.put(UploadManager.java:137) at test.test.Test.upload(Test.java:35) at test.test.Test.main(Test.java:52) Caused by: java.lang.ClassNotFoundException: kotlin.jvm.internal.Intrinsics at java.net.URLClassLoader$1.run(URLClassLoader.java:366) at java.net.URLClassLoader$1.run(URLClassLoader.java:355) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:354) at java.lang.ClassLoader.loadClass(ClassLoader.java:425) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308) at java.lang.ClassLoader.loadClass(ClassLoader.java:358) ... 23 more 今天在用七牛云上传图片出现了上面这个一场。异常解决办法:更换一个jar包 ### 出现异常的jar包 ### ![20191026163942363.png][] ### 正确的jar包: ### ![20191026164001327.png][] 正确jar包下载地址: [https://download.csdn.net/download/tomwildboar/10602047][https_download.csdn.net_download_tomwildboar_10602047] [20191026163942363.png]: /images/20220516/d34fe6bded2a4bc98fe06f5a8bfe3524.png [20191026164001327.png]: /images/20220516/1c7236a027b04327b0a292c6878d312a.png [https_download.csdn.net_download_tomwildboar_10602047]: https://download.csdn.net/download/tomwildboar/10602047
还没有评论,来说两句吧...